Spaces:
Running
Running
Update run.sh
Browse files
run.sh
CHANGED
@@ -2,8 +2,9 @@
|
|
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 |
node server.js
|
7 |
-
chmod +x /home/pn/app/build/linuxBuild.x86_64
|
8 |
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' /home/pn/app/build/linuxBuild.x86_64 -port 7777
|
9 |
wait $!
|
|
|
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
|
8 |
+
#chmod +x /home/pn/app/build/linuxBuild.x86_64
|
9 |
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' /home/pn/app/build/linuxBuild.x86_64 -port 7777
|
10 |
wait $!
|