anotherDocker / entrypoint_combined.sh
clone3's picture
Create entrypoint_combined.sh
254a7cd verified
raw
history blame contribute delete
319 Bytes
#!/usr/bin/env sh
# Start the backend server
chmod +x /app/build/tanks.x86_64
xvfb-run -ae /dev/stdout \
--server-args='-screen 0 640x480x24:32' \
/app/build/tanks.x86_64 \
-batchmode \
-nographics \
-logfile /app/logs/server.log &
# Start Nginx
nginx -g 'daemon off;'