updated Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Samuel Philipp 2021-02-01 20:13:29 +01:00
parent 3885b4bea7
commit 578d6cee47

View file

@ -4,11 +4,6 @@ FROM arm32v7/alpine:3.13.1@sha256:817f5bc4194eccd71ad9afe9c2eb7e73a5841180a88a38
FROM arm64v8/alpine:3.13.1@sha256:019c59128325536e838a5f36028db214335129f9aa83214cc2c60c10dc1797ac AS base-arm64
FROM base-${ARCH}
ENTRYPOINT ["/sbin/tini","--","/usr/local/searx/dockerfiles/docker-entrypoint.sh"]
EXPOSE 8080
VOLUME /etc/searx
VOLUME /var/log/uwsgi
RUN addgroup searx && adduser -D -h /usr/local/searx -s /bin/sh -G searx searx
ENV SEARX_VERSION="v0.18.0"
@ -52,3 +47,7 @@ RUN su searx -c "/usr/bin/python3 -m compileall -q searx"; \
find /usr/local/searx/searx/static -a \( -name '*.html' -o -name '*.css' -o -name '*.js' \
-o -name '*.svg' -o -name '*.ttf' -o -name '*.eot' \) \
-type f -exec gzip -9 -k {} \+ -exec brotli --best {} \+
EXPOSE 8080
ENTRYPOINT ["/sbin/tini","--","/usr/local/searx/dockerfiles/docker-entrypoint.sh"]