Spaces:
Build error
Build error
Commit
·
e9421d3
1
Parent(s):
41a9273
Update start.sh
Browse files
start.sh
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
#yarn start:production &
|
3 |
#exec "$@"
|
4 |
export PORT=5002
|
5 |
-
cd /opt/node_app/excalidraw-room &&
|
6 |
cd /opt/node_app/excalidraw && npm run build && npx http-server build -a 0.0.0.0 -p 5001 -o
|
|
|
2 |
#yarn start:production &
|
3 |
#exec "$@"
|
4 |
export PORT=5002
|
5 |
+
cd /opt/node_app/excalidraw-room && pm2 start pm2.production.json
|
6 |
cd /opt/node_app/excalidraw && npm run build && npx http-server build -a 0.0.0.0 -p 5001 -o
|