rename entrypoint

This commit is contained in:
David Andersen
2016-10-25 18:39:28 +00:00
parent 1dbac7408f
commit fc42bf7863
2 changed files with 2 additions and 3 deletions

10
docker-entrypoint.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash -x
SAVES=/opt/factorio/saves
if [ ! -f $SAVES/*.zip ]
then
/opt/factorio/bin/x64/factorio --create $SAVES/save.zip
fi
exec /opt/factorio/bin/x64/factorio --start-server-load-latest