Spaces:
Build error
Build error
Commit
·
62c6d13
1
Parent(s):
c42c917
Update start.sh
Browse files
start.sh
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
#!/bin/bash
|
2 |
-
yarn start:production &
|
3 |
-
exec "$@"
|
4 |
#cd /opt/node_app/excalidraw-room && pm2 start pm2.production.json
|
5 |
-
|
|
|
|
1 |
#!/bin/bash
|
2 |
+
#yarn start:production &
|
3 |
+
#exec "$@"
|
4 |
#cd /opt/node_app/excalidraw-room && pm2 start pm2.production.json
|
5 |
+
cd /opt/node_app/excalidraw && \
|
6 |
+
npm run build && npx http-server build -a 0.0.0.0 -p 5001 -o &
|