diff options
author | Florian Maunier <fmaunier@gmail.com> | 2017-04-07 13:31:18 +0200 |
---|---|---|
committer | Florian Maunier <fmaunier@gmail.com> | 2017-04-07 22:51:52 +0200 |
commit | 12f1cdeed1dcc328efc09eb0e9fe358f6bff1b8e (patch) | |
tree | ffafba4a4bbc4f0e69ce5f42596436791cf85d82 /Dockerfile | |
parent | e2f024147c624a1fc10c603d5e752132cc773400 (diff) |
Fix npm/yarn cache cleaning
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index c28287cca..57a8f34e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/* |