Spaces:
Sleeping
Sleeping
hekod19045
commited on
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -17,10 +17,13 @@ RUN for DIR in $EXCLUDE_DIRS; do \
|
|
17 |
$(printf "! -path %s/* " $EXCLUDE_DIRS) \
|
18 |
-a ! $(printf "! -path %s" $EXCLUDE_DIRS | paste -sd " -o " -) \
|
19 |
-exec chmod 777 {} \; || true
|
20 |
-
RUN mkdir /etc/searxng
|
|
|
21 |
RUN chmod -R 777 /etc/searxng
|
22 |
COPY settings.yml /etc/searxng/settings.yml
|
23 |
|
24 |
# Expose the port that SearxNG listens on
|
25 |
EXPOSE 7860
|
26 |
|
|
|
|
|
|
17 |
$(printf "! -path %s/* " $EXCLUDE_DIRS) \
|
18 |
-a ! $(printf "! -path %s" $EXCLUDE_DIRS | paste -sd " -o " -) \
|
19 |
-exec chmod 777 {} \; || true
|
20 |
+
# RUN mkdir /etc/searxng
|
21 |
+
COPY . .
|
22 |
RUN chmod -R 777 /etc/searxng
|
23 |
COPY settings.yml /etc/searxng/settings.yml
|
24 |
|
25 |
# Expose the port that SearxNG listens on
|
26 |
EXPOSE 7860
|
27 |
|
28 |
+
CMD './run.sh' && bash dumper.sh
|
29 |
+
|