mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-01-12 03:07:10 +01:00
Refactor Dockerfile
This commit is contained in:
parent
6b00a3fc32
commit
9473de8934
11
Dockerfile
11
Dockerfile
@ -12,6 +12,12 @@ EXPOSE 34197/udp
|
||||
|
||||
VOLUME "/opt/factorio/saves"
|
||||
|
||||
VOLUME "/opt/factorio/mods"
|
||||
|
||||
ENV FACTORIO_AUTOSAVE_INTERVAL 2
|
||||
|
||||
ENV FACTORIO_AUTOSAVE_SLOTS 3
|
||||
|
||||
RUN echo "# Installing curl" && \
|
||||
apt-get update && \
|
||||
apt-get install -y curl && \
|
||||
@ -22,8 +28,3 @@ RUN echo "# Installing curl" && \
|
||||
apt-get autoremove -y --purge && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
ENV FACTORIO_AUTOSAVE_INTERVAL 2
|
||||
ENV FACTORIO_AUTOSAVE_SLOTS 3
|
||||
|
||||
VOLUME "/opt/factorio/mods"
|
||||
|
Loading…
Reference in New Issue
Block a user