From 04b7c5c4ff97fc7d49e8d878d19b4eaee1764a0e Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 17 Nov 2025 07:05:25 -0500 Subject: [PATCH] temporary fix --- run.sh | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/run.sh b/run.sh index cfd8c18..2a89047 100755 --- a/run.sh +++ b/run.sh @@ -17,12 +17,20 @@ elif [ $NODE_ENV = "qa" -o $NODE_ENV = "test" ]; then npm run start -- --host else # build the app and serve it via nginx - echo "Production build" + echo "Temporary to fix build Production build bug" + echo "QA build" + export NODE_ENV="test" 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 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 + fi