Create config dir before attempting to write file

This commit is contained in:
Rémi Bédard-Couture 2024-10-22 15:51:08 -04:00
parent 4595d83666
commit 2ef6676d72
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ $STD npm install -g pnpm
$STD pnpm i
$STD pnpm run build
cp -r .next/static .next/standalone/.next/
mkdir -p /opt/peanut/.next/standalone/config
cat <<EOF >/opt/peanut/.next/standalone/config/settings.yml
WEB_HOST: 0.0.0.0
WEB_PORT: 3000