Browse Source

fix: docker yarn cache

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

2
dev/build/Dockerfile

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

Loading…
Cancel
Save