mirror of
https://github.com/tteck/Proxmox.git
synced 2026-07-04 18:42:39 +02:00
copy static files after rebuilding and increase default memory
This commit is contained in:
+2
-1
@@ -66,6 +66,7 @@ function update_script() {
|
|||||||
cd /opt/peanut
|
cd /opt/peanut
|
||||||
pnpm i &>/dev/null
|
pnpm i &>/dev/null
|
||||||
pnpm run build &>/dev/null
|
pnpm run build &>/dev/null
|
||||||
|
cp -r .next/static .next/standalone/.next/
|
||||||
systemctl start peanut
|
systemctl start peanut
|
||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
echo "${RELEASE}" >/opt/${APP}_version.txt
|
||||||
msg_ok "Updated $APP to ${RELEASE}"
|
msg_ok "Updated $APP to ${RELEASE}"
|
||||||
@@ -80,7 +81,7 @@ build_container
|
|||||||
description
|
description
|
||||||
|
|
||||||
msg_info "Setting Container to Normal Resources"
|
msg_info "Setting Container to Normal Resources"
|
||||||
pct set $CTID -memory 512
|
pct set $CTID -memory 1024
|
||||||
pct set $CTID -cores 1
|
pct set $CTID -cores 1
|
||||||
msg_ok "Set Container to Normal Resources"
|
msg_ok "Set Container to Normal Resources"
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user