Skip to content

Commit

Permalink
creating .config and .cache dir in root of node container
Browse files Browse the repository at this point in the history
and making it world-writable, so other users can install yarn/npm packages
  • Loading branch information
fideloper committed Oct 8, 2017
1 parent 6116f3c commit fb2cefe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-files/docker/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& apt-get install -y git yarn \
&& apt-get -y autoremove \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& mkdir /.config /.cache \
&& chmod ugo+rwx /.config /.cache

0 comments on commit fb2cefe

Please sign in to comment.