From dfb8b32a102bf7e9bf4873d18a018bb064fc0e0a Mon Sep 17 00:00:00 2001 From: Christophe Vandekerchove Date: Sun, 27 Mar 2016 09:02:10 +0200 Subject: [PATCH] Refactor Dockerfile --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3ff4b62..8554381 100644 --- a/Dockerfile +++ b/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"