diff --git a/install/bunkerm-install.sh b/install/bunkerm-install.sh index 7bedd463..78308b08 100644 --- a/install/bunkerm-install.sh +++ b/install/bunkerm-install.sh @@ -79,6 +79,7 @@ msg_ok "Set up Python Environment" msg_info "Building Frontend" cd /opt/bunkerm/frontend +[[ -f postcss.config.js ]] && mv postcss.config.js postcss.config.cjs export NODE_OPTIONS="--max-old-space-size=4096" AUTH_SECRET="build-time-placeholder" NEXT_TELEMETRY_DISABLED=1 $STD npm install AUTH_SECRET="build-time-placeholder" NEXT_TELEMETRY_DISABLED=1 $STD npm run build