Fix home folder permission

This commit is contained in:
Johnny 2017-08-21 17:32:37 +08:00 committed by Werner Beroux
parent fafce842f5
commit 7d91e97c9a
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ COPY entrypoint.sh /
RUN set -x \
&& echo 'ngrok:x:6737:6737:Ngrok user:/home/ngrok:/bin/false' >> /etc/passwd \
&& echo 'ngrok:x:6737:' >> /etc/group \
&& chown ngrok:ngrok /home/ngrok \
&& chown -R ngrok:ngrok /home/ngrok \
&& chmod -R go=u,go-w /home/ngrok \
&& chmod go= /home/ngrok