From e456de3476c6862118e26a011b2083b4afccd2ba Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Tue, 28 Feb 2023 23:25:01 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 93dfc083f..43177ae3b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,10 +34,10 @@ ARG VERSION_GITCOMMIT=unknown RUN su searxng -c "/usr/local/bin/python -m compileall -q searx" \ && touch -c --date=@${TIMESTAMP_SETTINGS} searx/settings.yml \ - && touch -c --date=@${TIMESTAMP_UWSGI} dockerfiles/uwsgi.ini \ - && find /usr/local/searxng/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 {} \+ + && touch -c --date=@${TIMESTAMP_UWSGI} dockerfiles/uwsgi.ini +# && find /usr/local/searxng/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 {} \+ # Keep these arguments at the end to prevent redundant layer rebuilds ARG LABEL_DATE=