Spaces:
Sleeping
Sleeping
hekod19045
commited on
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -3,8 +3,8 @@ FROM docker.io/searxng/searxng:latest
|
|
3 |
|
4 |
# Switch to root user to adjust permissions
|
5 |
USER root
|
6 |
-
|
7 |
-
|
8 |
|
9 |
# Define directories to exclude from chmod
|
10 |
ENV EXCLUDE_DIRS="/dev /proc /sys /etc /run /var/lib/docker /var/run /usr /tmp /var/tmp /mnt /media"
|
|
|
3 |
|
4 |
# Switch to root user to adjust permissions
|
5 |
USER root
|
6 |
+
ENV DEFAULT_BIND_ADDRESS="0.0.0.0:7860"
|
7 |
+
ENV BIND_ADDRESS="${BIND_ADDRESS:-${DEFAULT_BIND_ADDRESS}}"
|
8 |
|
9 |
# Define directories to exclude from chmod
|
10 |
ENV EXCLUDE_DIRS="/dev /proc /sys /etc /run /var/lib/docker /var/run /usr /tmp /var/tmp /mnt /media"
|