Initial commit

This commit is contained in:
Christophe Vandekerchove 2016-02-26 11:09:47 +01:00
parent 1bdc5eae6f
commit f33bfadd47
3 changed files with 20 additions and 0 deletions

20
Dockerfile Normal file
View File

@ -0,0 +1,20 @@
FROM ubuntu:latest
MAINTAINER zopanix@gmail.com
WORKDIR /opt
COPY ./factorio.tar.gz /opt
RUN tar -xzf factorio.tar.gz
RUN ["/opt/factorio/bin/x64/factorio", "--create", "save.zip"]
WORKDIR /opt/factorio
CMD ["/opt/factorio/bin/x64/factorio", "--disallow-commands", "--start-server", "save.zip"]
EXPOSE 34197/udp
VOLUME "/opt/factorio/saves"

BIN
factorio.tar.gz Normal file

Binary file not shown.

BIN
save.zip Normal file

Binary file not shown.