This commit is contained in:
hailin 2025-06-23 21:27:03 +08:00
parent c7c6561bc9
commit cd859ecf74
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# --- 第一阶段:构建阶段 ---
FROM node:18-bullseye-slim AS builder
FROM node:20-bullseye-slim AS builder
ARG BLOGAI_HOST=ai.szaiai.com
ENV NODE_ENV=production
@ -21,7 +21,7 @@ RUN pnpm run build
# --- 第二阶段:运行阶段 ---
FROM node:18-slim AS runner
FROM node:20-slim AS runner
ARG BLOGAI_HOST=ai.szaiai.com
ENV NODE_ENV=production