mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Update Dockerfile
This commit is contained in:
parent
edcc0abbfd
commit
e456de3476
1 changed files with 4 additions and 4 deletions
|
@ -34,10 +34,10 @@ ARG VERSION_GITCOMMIT=unknown
|
||||||
|
|
||||||
RUN su searxng -c "/usr/local/bin/python -m compileall -q searx" \
|
RUN su searxng -c "/usr/local/bin/python -m compileall -q searx" \
|
||||||
&& touch -c --date=@${TIMESTAMP_SETTINGS} searx/settings.yml \
|
&& touch -c --date=@${TIMESTAMP_SETTINGS} searx/settings.yml \
|
||||||
&& touch -c --date=@${TIMESTAMP_UWSGI} dockerfiles/uwsgi.ini \
|
&& touch -c --date=@${TIMESTAMP_UWSGI} dockerfiles/uwsgi.ini
|
||||||
&& find /usr/local/searxng/searx/static -a \( -name '*.html' -o -name '*.css' -o -name '*.js' \
|
# && find /usr/local/searxng/searx/static -a \( -name '*.html' -o -name '*.css' -o -name '*.js' \
|
||||||
-o -name '*.svg' -o -name '*.ttf' -o -name '*.eot' \) \
|
# -o -name '*.svg' -o -name '*.ttf' -o -name '*.eot' \) \
|
||||||
-type f -exec gzip -9 -k {} \+ -exec brotli --best {} \+
|
# -type f -exec gzip -9 -k {} \+ -exec brotli --best {} \+
|
||||||
|
|
||||||
# Keep these arguments at the end to prevent redundant layer rebuilds
|
# Keep these arguments at the end to prevent redundant layer rebuilds
|
||||||
ARG LABEL_DATE=
|
ARG LABEL_DATE=
|
||||||
|
|
Loading…
Add table
Reference in a new issue