Spaces:
Running
Running
Update run.sh
Browse files
run.sh
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
service nginx start
|
4 |
-
|
5 |
#chmod +x /home/pn/app/server.js
|
6 |
#RUN chmod -R 777 /app
|
7 |
node server.js
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
service nginx start
|
4 |
+
python -m http.server --directory ./static --bind 0.0.0.0 7860 & echo $! > http_server.pid
|
5 |
#chmod +x /home/pn/app/server.js
|
6 |
#RUN chmod -R 777 /app
|
7 |
node server.js
|