diff --git a/0.16/Dockerfile b/0.16/Dockerfile index 80a1503..2ee8e59 100644 --- a/0.16/Dockerfile +++ b/0.16/Dockerfile @@ -12,9 +12,7 @@ ENV PORT=34197 \ VERSION=0.16.11 \ SHA1=31d227881249eef95fb99f653fa2dada6faada48 -VOLUME /factorio - -RUN mkdir -p /opt && \ +RUN mkdir -p /opt /factorio && \ apk add --update --no-cache pwgen && \ apk add --update --no-cache --virtual .build-deps curl && \ curl -sSL https://www.factorio.com/get-download/$VERSION/headless/linux64 \ @@ -30,6 +28,8 @@ RUN mkdir -p /opt && \ adduser -u $PUID -G $USER -s /bin/sh -SDH $GROUP && \ chown -R $USER:$GROUP /opt/factorio /factorio +VOLUME /factorio + EXPOSE $PORT/udp $RCON_PORT/tcp COPY ./docker-entrypoint.sh /