Update dockerfile

This commit is contained in:
Furrium Network authored and GitHub committed 2026-08-10 22:11:36 +08:00
1 parent 80eb313604
commit bd7899a180
1 file changed
+2 -2
+2 -2
View File
@@ -3,7 +3,7 @@
# ============================================================
# ---- 构建阶段 ----
FROM node:18-alpine AS builder
FROM node:20-alpine AS builder
WORKDIR /app
ENV DOCKER=1
@@ -16,7 +16,7 @@ COPY . .
RUN npm run build
# ---- 运行阶段 ----
FROM node:18-alpine AS runner
FROM node:20-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production