fix: docker yarn cache
This commit is contained in:
parent
de10a55c4c
commit
48d2111378
@ -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…
Reference in New Issue
Block a user