fix: dockerfile build issue
This commit is contained in:
parent
af892b1731
commit
86f369c661
@ -16,10 +16,11 @@ COPY ./.babelrc ./.babelrc
|
|||||||
COPY ./.eslintignore ./.eslintignore
|
COPY ./.eslintignore ./.eslintignore
|
||||||
COPY ./.eslintrc.yml ./.eslintrc.yml
|
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 yarn build
|
||||||
RUN rm -rf /wiki/node_modules
|
RUN rm -rf /wiki/node_modules
|
||||||
RUN yarn --production
|
RUN yarn --production --frozen-lockfile --non-interactive
|
||||||
|
|
||||||
# ===============
|
# ===============
|
||||||
# --- Release ---
|
# --- Release ---
|
||||||
|
Loading…
Reference in New Issue
Block a user