mirror of https://github.com/searxng/searxng.git
Define http proxy variables in Dockerfile before using them
This commit is contained in:
parent
c1af891707
commit
2061c59ca1
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue