v0.1.5: Fix ENV syntax in website Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user