anotherDocker / entrypoint.sh
clone3's picture
Update entrypoint.sh
883ab6f verified
raw
history blame
343 Bytes
#!/usr/bin/env bash
# Start the backend server
chmod +x /app/build/tanks.x86_64
# Run xvfb and backend server
xvfb-run -ae /dev/stdout \
--server-args='-screen 0 640x480x24:32' \
/app/build/tanks.x86_64 \
-batchmode \
-nographics \
-logfile /dev/stdout &
# Start Nginx
nginx -g 'daemon off;'