v0.1.5: Fix ENV syntax in website Dockerfile

This commit is contained in:
lotherk
2026-03-27 15:07:00 +00:00
parent a1c4016785
commit 2f3fca16e0
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,9 @@
#!/bin/sh
set -e
VERSION=$(cat /tmp/version.txt)
export VERSION
# Run envsubst on index.html
if [ -f /usr/share/nginx/html/index.html ]; then
envsubst < /usr/share/nginx/html/index.html > /usr/share/nginx/html/index.html.tmp