diff --git a/webapp/Dockerfile b/webapp/Dockerfile index 1bbe5db0..6e6c6088 100644 --- a/webapp/Dockerfile +++ b/webapp/Dockerfile @@ -33,7 +33,6 @@ ENV UMAMI_SCRIPT_URL="" ENV UMAMI_WEBSITE_ID="" ENV UMAMI_DOMAINS="" -COPY --from=build /app/version.txt /usr/share/nginx/html/version.txt COPY --from=build /app/dist/webapp/browser /usr/share/nginx/html COPY generate_config.sh /usr/local/bin/generate_config.sh diff --git a/webapp/generate_config.sh b/webapp/generate_config.sh index 8d9571a3..c7f63c48 100644 --- a/webapp/generate_config.sh +++ b/webapp/generate_config.sh @@ -1,7 +1,7 @@ #!/bin/sh # This script generates the environment.json file for the webapp based on the environment variables during the docker container startup. -APP_VERSION=$(cat /usr/share/nginx/html/version.txt) +APP_VERSION=$(cat /version.txt) cat < /usr/share/nginx/html/environment.json {