diff --git a/package.json b/package.json index 4d67165..f672d41 100644 --- a/package.json +++ b/package.json @@ -30,13 +30,13 @@ "react-to-print": "^2.14.12", "react-toastify": "^9.0.1", "redux": "^4.2.0", - "socket.io-client": "^4.4.1", "slick-carousel": "^1.8.1", + "socket.io-client": "^4.4.1", "web-vitals": "^1.0.1", "yup": "^1.1.1" }, "scripts": { - "start": "react-scripts start -e .env.development", + "start": "react-scripts start -e .env.production", "build": "react-scripts build -e .env.production", "test": "react-scripts test", "eject": "react-scripts eject" diff --git a/run.sh b/run.sh index 35de5f6..394d64c 100755 --- a/run.sh +++ b/run.sh @@ -13,7 +13,8 @@ else # build the app and serve it via nginx echo "Production build" npm install --legacy-peer-deps - npm run build + #npm run build + npm start nginx -g 'daemon off;' -c /usr/src/app/nginx.conf nginx -c /usr/src/app/nginx.conf fi