correct new dockerfle

This commit is contained in:
Dryusdan 2018-01-03 14:21:54 +01:00
parent ad30fa9aca
commit 31320af33d
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,8 @@ RUN groupadd -g 991 peertube && useradd -u 991 -g 991 peertube \
&& git clone --branch develop https://github.com/Chocobozzz/PeerTube /PeerTube \
&& echo "****** chown ******" \
&& chown -R peertube:peertube PeerTube \
&& ls -la / \
&& ls -la /home/peertube \
&& cd /PeerTube \
&& echo "****** run npm install as user ******" \
&& su - peertube -c "cd /PeerTube && npm install" \