From b47026d494643e194dc266c11aec4554545b380b Mon Sep 17 00:00:00 2001 From: aron Date: Fri, 30 Aug 2024 08:07:23 +0200 Subject: [PATCH] Set version as last step --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c3c037a35..168740ec5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -133,7 +133,7 @@ VOLUME [ "/data" ] # Configure application ARG VERSION=dev -ENV VERSION=${VERSION} \ +ENV VERSION=dev \ DEBUG=off \ MEDIA_ROOT=/data/ \ SERVER_WORKERS=4 \ @@ -181,6 +181,8 @@ COPY --chown=1000:1000 api/generate_notice.sh api/download_sources.sh api/start. RUN /bin/bash /app/api/generate_notice.sh # Copy of changelog should be one of the last things to use cache for prod releases COPY LICENSE CHANGELOG.md /app/ +ARG VERSION=dev +ENV VERSION=${VERSION} USER 1000