fix:更新cicd
This commit is contained in:
parent
39058aeaeb
commit
f3f5f3f58b
@ -13,8 +13,12 @@ RUN yarn install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
|
||||
# 构建(跳过 ESLint 和类型检查)
|
||||
RUN yarn build --no-lint --no-typescript
|
||||
# 禁用 ESLint 和 TypeScript 检查
|
||||
ENV NEXT_DISABLE_ESLINT=1
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
# 构建(使用环境变量控制)
|
||||
RUN yarn build
|
||||
|
||||
# 部署阶段
|
||||
FROM crpi-jlsdxetsdmy4ckxh.cn-shenzhen.personal.cr.aliyuncs.com/zsq_proxy/node:22-alpine AS production
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user