Ver Fonte

Fix ownership on minecraft user's home

Mark Ide há 8 anos atrás
pai
commit
933b300e47
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -25,6 +25,8 @@ RUN echo "deb http://overviewer.org/debian ./" >> /etc/apt/sources.list && \
 
 COPY config/config.py /home/minecraft/config.py
 
+RUN chown minecraft:minecraft -R /home/minecraft/
+
 WORKDIR /home/minecraft/
 
 USER minecraft