Browse Source

Fix npm/yarn cache cleaning

closed-social-glitch-2
Florian Maunier 7 years ago
parent
commit
12f1cdeed1
No known key found for this signature in database GPG Key ID: A3B16B99F9108DD9
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Dockerfile

+ 2
- 1
Dockerfile 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/*

Loading…
Cancel
Save