From e035727881912dcaeb55b94fa12bf3d1fce78aa2 Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Wed, 26 Oct 2022 16:19:20 +0100 Subject: [PATCH] maybe fix ? --- entrypoint.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index ae66f66..dff3ab2 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,4 @@ -#!/bin/sh +,!/bin/sh echo "Checking that NEXT_PUBLIC_API_URL env-var exists" test -n "$NEXT_PUBLIC_HTTP_PROXY" @@ -26,12 +26,12 @@ echo "Found $NEXT_PUBLIC_SITE_URL" echo "Ignore permission errors below" -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" -find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_SITE_TITLE#$NEXT_PUBLIC_SITE_TITLE#g" -find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_SITE_DESCRIPTION#$NEXT_PUBLIC_SITE_DESCRIPTION#g" -find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_SITE_COLOR#$NEXT_PUBLIC_SITE_COLOR#g" -find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#APP_NEXT_PUBLIC_SITE_URL#$NEXT_PUBLIC_SITE_URL#g" +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" +find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s,APP_NEXT_PUBLIC_SITE_TITLE,$NEXT_PUBLIC_SITE_TITLE,g" +find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s,APP_NEXT_PUBLIC_SITE_DESCRIPTION,$NEXT_PUBLIC_SITE_DESCRIPTION,g" +find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s,APP_NEXT_PUBLIC_SITE_COLOR,$NEXT_PUBLIC_SITE_COLOR,g" +find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s,APP_NEXT_PUBLIC_SITE_URL,$NEXT_PUBLIC_SITE_URL,g" echo "Starting NextJS" exec "$@"