Update Dockerfile

This commit is contained in:
Joseph Cheung 2023-02-28 23:11:01 +08:00
parent c8a8c63ea0
commit edcc0abbfd

View file

@ -32,7 +32,7 @@ ARG TIMESTAMP_SETTINGS=0
ARG TIMESTAMP_UWSGI=0
ARG VERSION_GITCOMMIT=unknown
RUN su searxng -c "/usr/bin/python3 -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_UWSGI} dockerfiles/uwsgi.ini \
&& find /usr/local/searxng/searx/static -a \( -name '*.html' -o -name '*.css' -o -name '*.js' \