correct files
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@
|
|||||||
"yup": "^1.1.1"
|
"yup": "^1.1.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "react-scripts start -e .env.production",
|
"start": "react-scripts start -e .env.development",
|
||||||
"build": "react-scripts build -e .env.production",
|
"build": "react-scripts build -e .env.production",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
"eject": "react-scripts eject"
|
"eject": "react-scripts eject"
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ else
|
|||||||
# build the app and serve it via nginx
|
# build the app and serve it via nginx
|
||||||
echo "Production build"
|
echo "Production build"
|
||||||
npm install --legacy-peer-deps
|
npm install --legacy-peer-deps
|
||||||
# npm run build
|
npm run build
|
||||||
# Testing sometimes
|
# Testing sometimes
|
||||||
npm run start
|
# npm run start
|
||||||
nginx -g 'daemon off;' -c /usr/src/app/nginx.conf
|
nginx -g 'daemon off;' -c /usr/src/app/nginx.conf
|
||||||
nginx -c /usr/src/app/nginx.conf
|
nginx -c /usr/src/app/nginx.conf
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user