提交 1f4dacc5 作者: ZhangLingKun

测试:测试推送部署

上级 c6641309
流水线 #7197 已通过 于阶段
in 5 分 49 秒
FROM node:alpine AS base
FROM node:18-alpine AS base
# Install dependencies only when needed
FROM base AS deps
......@@ -20,7 +20,8 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN yarn build && yarn install --production --ignore-scripts --prefer-offline
#RUN yarn build && yarn install --production --ignore-scripts --prefer-offline
RUN yarn build
# Production image, copy all the files and run next
FROM node:alpine AS runner
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论