[mc] Ensure home directory is writable

For #102
This commit is contained in:
Geoff Bourne
2016-08-30 17:11:10 -05:00
parent 8956d43c47
commit d14d666e24
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
jq \
&& apt-get clean
RUN useradd -M -s /bin/false --uid 1000 minecraft \
RUN useradd -s /bin/false --uid 1000 minecraft \
&& mkdir /data \
&& mkdir /config \
&& mkdir /mods \
@@ -29,7 +29,7 @@ COPY start-minecraft.sh /start-minecraft
COPY mcadmin.jq /usr/share
RUN chmod +x /usr/local/bin/*
VOLUME ["/data","/mods","/config","/plugins"]
VOLUME ["/data","/mods","/config","/plugins","/home/minecraft"]
COPY server.properties /tmp/server.properties
WORKDIR /data