From 15b6b5f7636c8fd774e24cb107bfac866616bd49 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 10 Dec 2024 09:46:24 +0100 Subject: [PATCH 1/2] Update nginxproxymanager-install.sh --- install/nginxproxymanager-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/nginxproxymanager-install.sh b/install/nginxproxymanager-install.sh index 27639f1af..8cc4777dd 100644 --- a/install/nginxproxymanager-install.sh +++ b/install/nginxproxymanager-install.sh @@ -141,9 +141,9 @@ msg_ok "Set up Enviroment" msg_info "Building Frontend" cd ./frontend -$STD pnpm install -$STD pnpm upgrade -$STD pnpm run build +$STD yarn cache clean --silent --force +$STD yarn install --silent --network-timeout=30000 +$STD yarn build cp -r dist/* /app/frontend cp -r app-images/* /app/frontend/images msg_ok "Built Frontend" From 20e9aa33023e3d6106414bde0176af588c382dd0 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 10 Dec 2024 09:46:52 +0100 Subject: [PATCH 2/2] Fix Update Script --- ct/nginxproxymanager.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/nginxproxymanager.sh b/ct/nginxproxymanager.sh index 476989bbf..30fba232a 100644 --- a/ct/nginxproxymanager.sh +++ b/ct/nginxproxymanager.sh @@ -140,9 +140,9 @@ function update_script() { msg_info "Building Frontend" cd ./frontend - pnpm install &>/dev/null - pnpm upgrade &>/dev/null - pnpm run build &>/dev/null + yarn cache clean --silent --force &>/dev/null + yarn install --silent --network-timeout=30000 &>/dev/null + yarn build &>/dev/null cp -r dist/* /app/frontend cp -r app-images/* /app/frontend/images msg_ok "Built Frontend"