Spaces:
Build error
Build error
Commit
·
6c0ae9c
1
Parent(s):
a97696b
Update start.sh
Browse files
start.sh
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
#!/bin/bash
|
2 |
#yarn start:production &
|
3 |
#exec "$@"
|
4 |
-
|
|
|
5 |
cd /opt/node_app/excalidraw && npx http-server build -a 0.0.0.0 -p 5001 -o
|
6 |
#npm run build && npx http-server build -a 0.0.0.0 -p 5001 -o
|
|
|
1 |
#!/bin/bash
|
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 && npx http-server build -a 0.0.0.0 -p 5001 -o
|
7 |
#npm run build && npx http-server build -a 0.0.0.0 -p 5001 -o
|