From 2ef6676d720a3f6451b94e540d5ce6f07eea6b34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20B=C3=A9dard-Couture?= Date: Tue, 22 Oct 2024 15:51:08 -0400 Subject: [PATCH] Create config dir before attempting to write file --- install/peanut-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/peanut-install.sh b/install/peanut-install.sh index c73914e2..2ba26e6e 100644 --- a/install/peanut-install.sh +++ b/install/peanut-install.sh @@ -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 </opt/peanut/.next/standalone/config/settings.yml WEB_HOST: 0.0.0.0 WEB_PORT: 3000