Bugfix: When running bower install from slash root it would panic because it could not create folders.

This commit is contained in:
nnh 2016-06-10 14:38:25 +02:00
parent 5455b05b35
commit 72ecc6fb5a

View file

@ -9,5 +9,8 @@ RUN echo '{ "allow_root": true }' > /root/.bowerrc
# Bower will try to create this folder and fail if it's
# not there and editable.
RUN mkdir /.config && chown 775 -R /.config
RUN mkdir .config .cache .local \
&& chown 1000 -R /.config \
&& chown 1000 -R /.cache \
&& chown 1000 -R /.local