提交 c6641309 作者: ZhangLingKun

测试:测试推送部署

上级 300e27f7
流水线 #7196 已失败 于阶段
in 8 秒
......@@ -16,12 +16,11 @@ RUN \
fi
FROM base AS builder
# Rebuild the source code only when needed
#FROM node:alpine AS base
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
RUN yarn build
COPY . .
RUN yarn build && yarn install --production --ignore-scripts --prefer-offline
# Production image, copy all the files and run next
FROM node:alpine AS runner
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论