Skip to content

Commit

Permalink
fix: --ignore-engines
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Feb 10, 2023
1 parent abfa5ab commit 1471f1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ENV YAPI_VERSION=1.12.0
# 编译脚本
WORKDIR /yapi/scripts
COPY . .
RUN yarn && yarn build
RUN yarn --ignore-engines && yarn build

WORKDIR /yapi/vendors

Expand All @@ -29,7 +29,7 @@ RUN cp /yapi/scripts/start.js ./start.js
RUN node /yapi/scripts/prepare.js $(pwd)

# 安装依赖
RUN yarn
RUN yarn --ignore-engines

# 清理文件
RUN node /yapi/scripts/clean.js $(pwd)
Expand Down

0 comments on commit 1471f1c

Please sign in to comment.