Updated dockerfile with metadata

Signed-off-by: Rafael Caricio <rafael@caricio.com>
This commit is contained in:
Rafael Caricio 2022-07-08 18:40:49 +02:00
parent 9a822af310
commit 15d4435d80
Signed by: rafaelcaricio
GPG key ID: 3C86DBCE8E93C947

View file

@ -29,6 +29,9 @@ ENV INSTANCE_NAME=searxng \
RUN mv /app/code/searx/settings.yml /app/code/searx/settings.yml.orig && \
ln -sf /app/data/settings.yml /app/code/searx/settings.yml
RUN echo "VERSION_STRING=\"m${VERSION}\";VERSION_TAG=\"m${VERSION}\";GIT_URL=\"https://git.caric.io/mirrors/searxng\";GIT_BRANCH=\"m${VERSION}\"" \
> /app/code/searx/version_frozen.py
RUN chown -R www-data.www-data /app/code
# Fix python UnicodeDecodeError