Skip to content

Commit

Permalink
Revert "fix version"
Browse files Browse the repository at this point in the history
This reverts commit b6527ae.
  • Loading branch information
FelixTJDietrich committed Dec 9, 2024
1 parent b6527ae commit 6d99917
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion webapp/generate_config.sh
Original file line number Diff line number Diff line change
@@ -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 <<EOF > /usr/share/nginx/html/environment.json
{
Expand Down

0 comments on commit 6d99917

Please sign in to comment.