mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-10 20:57:23 +01:00
Initial commit
This commit is contained in:
parent
1bdc5eae6f
commit
f33bfadd47
20
Dockerfile
Normal file
20
Dockerfile
Normal 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
BIN
factorio.tar.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user