fix: docker yarn cache

This commit is contained in:
Nicolas Giard 2018-11-04 13:19:49 -05:00
parent de10a55c4c
commit 48d2111378

View File

@ -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