temporary fix
This commit is contained in:
@@ -17,12 +17,20 @@ elif [ $NODE_ENV = "qa" -o $NODE_ENV = "test" ]; then
|
|||||||
npm run start -- --host
|
npm run start -- --host
|
||||||
else
|
else
|
||||||
# build the app and serve it via nginx
|
# 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 install --legacy-peer-deps
|
||||||
npm run build
|
npm run start -- --host
|
||||||
# Testing sometimes
|
|
||||||
# npm run start
|
# # build the app and serve it via nginx
|
||||||
nginx -g 'daemon off;' -c /usr/src/app/nginx.conf
|
# echo "Production build"
|
||||||
nginx -c /usr/src/app/nginx.conf
|
# 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
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user