소스 검색

fix: docker yarn cache

Nicolas Giard 6 년 전
부모
커밋
48d2111378
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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