mirror of
https://github.com/LpmRaven/factorio-docker-server.git
synced 2024-12-12 08:24:07 +02:00
Update Dockerfile
This commit is contained in:
parent
be41457079
commit
b2957bef17
@ -12,6 +12,7 @@ RUN useradd -m -d /opt/factorio -s /bin/bash factorio \
|
||||
USER factorio
|
||||
|
||||
ENV HOME /opt/factorio
|
||||
ENV SAVEFILE /opt/factorio/saves/factorio_save.zip
|
||||
ENV MAPSETTINGS /opt/factorio/map-gen-settings.json
|
||||
ENV SERVERSETTINGS /opt/factorio/server-settings.json
|
||||
|
||||
@ -25,9 +26,5 @@ ADD map-gen-settings.json /opt/factorio/
|
||||
ADD server-settings.json /opt/factorio/
|
||||
ADD init.sh /opt/factorio/
|
||||
|
||||
RUN mkdir /opt/factorio/saves
|
||||
ADD factorio_save.zip /opt/factorio/saves
|
||||
ENV SAVEFILE /opt/factorio/saves/factorio_save.zip
|
||||
|
||||
EXPOSE 34197/udp
|
||||
CMD ["./init.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user