anotherDocker / entrypoint.sh
clone3's picture
Create entrypoint.sh
111b0e1 verified
raw
history blame
239 Bytes
#!/bin/bash
# Start the backend server
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
exec nginx -g 'daemon off;'