Преглед на файлове

fix: dockerfile build issue

Nick преди 6 години
родител
ревизия
86f369c661
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      dev/build/Dockerfile

+ 3 - 2
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 ---