mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-26 01:15:53 +00:00
Refactor frontend build process to export DEPLOYMENT_MODE before running npm build
This commit is contained in:
@@ -32,7 +32,8 @@ msg_ok "Built backend"
|
||||
msg_info "Building frontend"
|
||||
cd /opt/guardian/frontend
|
||||
$STD npm ci
|
||||
$STD DEPLOYMENT_MODE=standalone npm run build
|
||||
export DEPLOYMENT_MODE=standalone
|
||||
$STD npm run build
|
||||
msg_ok "Built frontend"
|
||||
|
||||
msg_info "Creating Services"
|
||||
|
||||
Reference in New Issue
Block a user