fix(ops): use --include=dev in nextgen client build to prevent vite: not found under cron

This commit is contained in:
fchinembiri 2026-07-14 16:40:27 +02:00
parent d1a868613d
commit 7e378eb8c9
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ echo "Installing server dependencies..."
cd server && npm install --production && cd .. cd server && npm install --production && cd ..
echo "Building client..." echo "Building client..."
cd client && NODE_ENV=development npm install && npm run build && cd .. cd client && npm install --include=dev && npm run build && cd ..
echo "Restarting Kubernetes deployment..." echo "Restarting Kubernetes deployment..."
kubectl rollout restart deployment "$DEPLOYMENT" -n nextgen kubectl rollout restart deployment "$DEPLOYMENT" -n nextgen