mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Create config dir before attempting to write file
This commit is contained in:
parent
4595d83666
commit
2ef6676d72
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ $STD npm install -g pnpm
|
||||||
$STD pnpm i
|
$STD pnpm i
|
||||||
$STD pnpm run build
|
$STD pnpm run build
|
||||||
cp -r .next/static .next/standalone/.next/
|
cp -r .next/static .next/standalone/.next/
|
||||||
|
mkdir -p /opt/peanut/.next/standalone/config
|
||||||
cat <<EOF >/opt/peanut/.next/standalone/config/settings.yml
|
cat <<EOF >/opt/peanut/.next/standalone/config/settings.yml
|
||||||
WEB_HOST: 0.0.0.0
|
WEB_HOST: 0.0.0.0
|
||||||
WEB_PORT: 3000
|
WEB_PORT: 3000
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue