From 86f369c661ce26a96dd3919bd56b4c3905284cc3 Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 2 Feb 2019 14:05:24 -0500 Subject: [PATCH] fix: dockerfile build issue --- dev/build/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev/build/Dockerfile b/dev/build/Dockerfile index c6f6bf5a..d41eb986 100644 --- a/dev/build/Dockerfile +++ b/dev/build/Dockerfile @@ -16,10 +16,11 @@ COPY ./.babelrc ./.babelrc COPY ./.eslintignore ./.eslintignore COPY ./.eslintrc.yml ./.eslintrc.yml -RUN yarn --cache-folder /codefresh/volume/yarn +RUN yarn cache clean +RUN yarn --frozen-lockfile --non-interactive RUN yarn build RUN rm -rf /wiki/node_modules -RUN yarn --production +RUN yarn --production --frozen-lockfile --non-interactive # =============== # --- Release ---