From 8995fb774337f974df89bb0d18fb91edad52e807 Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Wed, 26 Oct 2022 16:20:16 +0100 Subject: [PATCH] add echo --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index dff3ab2..36cac6b 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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"