mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-25 18:38:22 +01:00
Merge pull request #101 from smessmer/patch-1
Fix volume permissions for docker-compose
This commit is contained in:
commit
648b81edf8
@ -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 /
|
||||
|
Loading…
Reference in New Issue
Block a user