1
0
mirror of https://github.com/bplein/factorio-docker.git synced 2024-11-24 08:42:31 +02:00

expose script-output to volume

This commit is contained in:
keith 2018-05-02 12:44:34 -07:00 committed by GitHub
parent 1b2fdb298f
commit cc23bb396e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,8 @@ ENV PORT=34197 \
SAVES=/factorio/saves \
CONFIG=/factorio/config \
MODS=/factorio/mods \
SCENARIOS=/factorio/scenarios
SCENARIOS=/factorio/scenarios \
SCRIPTOUTPUT=/factorio/script-output
RUN mkdir -p /opt /factorio && \
apk add --update --no-cache pwgen && \
@ -28,6 +29,7 @@ RUN mkdir -p /opt /factorio && \
ln -s $SAVES /opt/factorio/saves && \
ln -s $MODS /opt/factorio/mods && \
ln -s $SCENARIOS /opt/factorio/scenarios && \
ln -s $SCRIPTOUTPUT /opt/factorio/script-output && \
apk del .build-deps && \
addgroup -g $PGID -S $GROUP && \
adduser -u $PUID -G $GROUP -s /bin/sh -SDH $USER && \