Refactor frontend build process to export DEPLOYMENT_MODE before running npm build
This commit is contained in:
parent
7a8f1aa0ff
commit
8d44bed6c5
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user