Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Vandekerchove committed Feb 26, 2016
1 parent 1bdc5ea commit f33bfad
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM ubuntu:latest

MAINTAINER [email protected]

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"

Binary file added factorio.tar.gz
Binary file not shown.
Binary file added save.zip
Binary file not shown.

0 comments on commit f33bfad

Please sign in to comment.