Spaces:
Build error
Build error
Update entrypoint.sh
Browse files- entrypoint.sh +1 -8
entrypoint.sh
CHANGED
|
@@ -2,14 +2,7 @@
|
|
| 2 |
|
| 3 |
# Start the backend server
|
| 4 |
chmod +x /app/build/tanks.x86_64
|
| 5 |
-
|
| 6 |
-
# Run xvfb and backend server
|
| 7 |
-
xvfb-run -ae /dev/stdout \
|
| 8 |
-
--server-args='-screen 0 640x480x24:32' \
|
| 9 |
-
/app/build/tanks.x86_64 \
|
| 10 |
-
-batchmode \
|
| 11 |
-
-nographics \
|
| 12 |
-
-logfile /dev/stdout &
|
| 13 |
|
| 14 |
# Start Nginx
|
| 15 |
nginx -g 'daemon off;'
|
|
|
|
| 2 |
|
| 3 |
# Start the backend server
|
| 4 |
chmod +x /app/build/tanks.x86_64
|
| 5 |
+
xvfb-run -ae /dev/stdout --server-args='-screen 0 640x480x24:32' /app/build/tanks.x86_64 -batchmode -nographics -logfile /dev/stdout &
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# Start Nginx
|
| 8 |
nginx -g 'daemon off;'
|