Browse Source

fix: docker yarn cache

Nicolas Giard 6 years ago
parent
commit
48d2111378
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dev/build/Dockerfile

+ 1 - 1
dev/build/Dockerfile

@@ -17,7 +17,7 @@ COPY ./.babelrc ./.babelrc
 COPY ./.eslintignore ./.eslintignore
 COPY ./.eslintrc.yml ./.eslintrc.yml
 
-RUN yarn
+RUN yarn --cache-folder /codefresh/volume/yarn
 RUN yarn build
 RUN rm -rf /var/wiki/node_modules
 RUN yarn --production