1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Merge pull request #1147 from fmauNeko/docker_smaller_image

Fix npm/yarn cache cleaning
This commit is contained in:
Eugen 2017-04-07 23:45:48 +02:00 committed by GitHub
commit 0bf31f5436

View file

@ -29,7 +29,8 @@ RUN BUILD_DEPS=" \
&& npm install -g npm@3 && npm install -g yarn \
&& bundle install --deployment --without test development \
&& yarn \
&& npm cache clean \
&& yarn cache clean \
&& npm -g cache clean \
&& apk del $BUILD_DEPS \
&& rm -rf /tmp/* /var/cache/apk/*