From 15d4435d80969fd32ef3a04c5959c67936ba428f Mon Sep 17 00:00:00 2001 From: Rafael Caricio Date: Fri, 8 Jul 2022 18:40:49 +0200 Subject: [PATCH] Updated dockerfile with metadata Signed-off-by: Rafael Caricio --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9caf331..d194678 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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