This commit is contained in:
Liam 2022-10-26 16:20:16 +01:00
parent e035727881
commit 8995fb7743

View File

@ -24,7 +24,7 @@ echo "Checking that NEXT_PUBLIC_SITE_URL env-var exists"
test -n "$NEXT_PUBLIC_SITE_URL"
echo "Found $NEXT_PUBLIC_SITE_URL"
echo "Ignore permission errors below"
echo "Updating static next env vars"
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s,APP_NEXT_PUBLIC_HTTP_PROXY,$NEXT_PUBLIC_HTTP_PROXY,g"
find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s,APP_NEXT_PUBLIC_SITE_NAME,$NEXT_PUBLIC_SITE_NAME,g"