build real for debug

This commit is contained in:
CHIEFSOFT\ameye
2025-11-17 07:10:25 -05:00
parent 04b7c5c4ff
commit 447f15f7d9
2 changed files with 16 additions and 14 deletions
+14 -13
View File
@@ -17,20 +17,21 @@ elif [ $NODE_ENV = "qa" -o $NODE_ENV = "test" ]; then
npm run start -- --host
else
# build the app and serve it via nginx
echo "Temporary to fix build Production build bug"
echo "QA build"
export NODE_ENV="test"
echo "Production build"
npm install --legacy-peer-deps
npm run start -- --host
# # build the app and serve it via nginx
# echo "Production build"
# npm install --legacy-peer-deps
# npm run build
# # Testing sometimes
# # npm run start
# nginx -g 'daemon off;' -c /usr/src/app/nginx.conf
# nginx -c /usr/src/app/nginx.conf
npm run build
# Testing sometimes
# npm run start
nginx -g 'daemon off;' -c /usr/src/app/nginx.conf
nginx -c /usr/src/app/nginx.conf
# build the app and serve it via nginx
echo "Production build"
npm install --legacy-peer-deps
npm run build
# Testing sometimes
# npm run start
nginx -g 'daemon off;' -c /usr/src/app/nginx.conf
nginx -c /usr/src/app/nginx.conf
fi