i still dunno how to bash
This commit is contained in:
parent
5be95e8105
commit
38baec65b0
@ -15,12 +15,12 @@ test -n "$NEXT_PUBLIC_SITE_URL"
|
|||||||
|
|
||||||
files = $(find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0)
|
files = $(find /app/.next \( -type d -name .git -prune \) -o -type f -print0 | xargs -0)
|
||||||
|
|
||||||
$files sed -i "s#APP_NEXT_PUBLIC_HTTP_PROXY#$NEXT_PUBLIC_HTTP_PROXY#g"
|
$files $(sed -i "s#APP_NEXT_PUBLIC_HTTP_PROXY#$NEXT_PUBLIC_HTTP_PROXY#g")
|
||||||
$files sed -i "s#APP_NEXT_PUBLIC_SITE_NAME#$NEXT_PUBLIC_SITE_NAME#g"
|
$files $(sed -i "s#APP_NEXT_PUBLIC_SITE_NAME#$NEXT_PUBLIC_SITE_NAME#g")
|
||||||
$files sed -i "s#APP_NEXT_PUBLIC_SITE_TITLE#$NEXT_PUBLIC_SITE_TITLE#g"
|
$files $(sed -i "s#APP_NEXT_PUBLIC_SITE_TITLE#$NEXT_PUBLIC_SITE_TITLE#g")
|
||||||
$files sed -i "s#APP_NEXT_PUBLIC_SITE_DESCRIPTION#$NEXT_PUBLIC_SITE_DESCRIPTION#g"
|
$files $(sed -i "s#APP_NEXT_PUBLIC_SITE_DESCRIPTION#$NEXT_PUBLIC_SITE_DESCRIPTION#g")
|
||||||
$files sed -i "s#APP_NEXT_PUBLIC_SITE_COLOR#$NEXT_PUBLIC_SITE_COLOR#g"
|
$files $(sed -i "s#APP_NEXT_PUBLIC_SITE_COLOR#$NEXT_PUBLIC_SITE_COLOR#g")
|
||||||
$files sed -i "s#APP_NEXT_PUBLIC_SITE_URL#$NEXT_NEXT_PUBLIC_SITE_URL#g"
|
$files $(sed -i "s#APP_NEXT_PUBLIC_SITE_URL#$NEXT_NEXT_PUBLIC_SITE_URL#g")
|
||||||
|
|
||||||
echo "Starting NextJS"
|
echo "Starting NextJS"
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
Reference in New Issue
Block a user