diff options
author | Robert O'Connor <rob@oconnor.ninja> | 2019-08-18 18:29:02 -0400 |
---|---|---|
committer | Robert O'Connor <rob@oconnor.ninja> | 2019-08-18 18:29:02 -0400 |
commit | 86d1a4931fcdef88312b330bffa908afe5a70abf (patch) | |
tree | c00744fc26cd43b8ed19716a09b29767718abd60 /Dockerfile | |
parent | dae5bcf253235c7551d6120b881bc07ae3b7abcc (diff) | |
download | searxng-86d1a4931fcdef88312b330bffa908afe5a70abf.tar.gz searxng-86d1a4931fcdef88312b330bffa908afe5a70abf.zip |
..
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index c0e6cbc88..f336d4b3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,6 @@ ENTRYPOINT ["/sbin/tini","--","/usr/local/searx/dockerfiles/docker-entrypoint.sh EXPOSE 8080 VOLUME /etc/searx VOLUME /var/log/uwsgi -RUN addgroup -g ${SEARX_GID} searx && \ - adduser -u ${SEARX_UID} -D -h /usr/local/searx -s /bin/sh -G searx searx ARG VERSION_GITCOMMIT=unknown ARG SEARX_GIT_VERSION=unknown @@ -12,6 +10,9 @@ ARG SEARX_GIT_VERSION=unknown ARG SEARX_GID=977 ARG SEARX_UID=977 +RUN addgroup -g ${SEARX_GID} searx && \ + adduser -u ${SEARX_UID} -D -h /usr/local/searx -s /bin/sh -G searx searx + ARG TIMESTAMP_SETTINGS=0 ARG TIMESTAMP_UWSGI=0 ARG LABEL_VCS_REF= |