Define http proxy variables in Dockerfile before using them

This commit is contained in:
pelag0s 2019-01-14 09:24:57 +01:00
parent c1af891707
commit 2061c59ca1
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ FROM alpine:3.8
LABEL maintainer="searx <https://github.com/asciimoo/searx>" LABEL maintainer="searx <https://github.com/asciimoo/searx>"
LABEL description="A privacy-respecting, hackable metasearch engine." LABEL description="A privacy-respecting, hackable metasearch engine."
ENV BASE_URL=False IMAGE_PROXY=False ENV BASE_URL=False IMAGE_PROXY=False HTTP_PROXY_URL= HTTPS_PROXY_URL=
EXPOSE 8888 EXPOSE 8888
WORKDIR /usr/local/searx WORKDIR /usr/local/searx
CMD ["/sbin/tini","--","/usr/local/searx/run.sh"] CMD ["/sbin/tini","--","/usr/local/searx/run.sh"]