anotherDocker / entrypoint.sh
clone3's picture
Update entrypoint.sh
ebe6d61 verified
raw
history blame contribute delete
262 Bytes
#!/usr/bin/env bash
# Start the backend server
chmod +x /app/build/tanks.x86_64 || true
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;'