添加文字
Docker Build and Push / build-image (push) Successful in 5m27s

This commit is contained in:
cheney
2026-04-10 22:25:14 +08:00
parent 4c7f600a6b
commit c61610db20
2 changed files with 119 additions and 2 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
# 构建阶段
FROM node:18-alpine AS builder
FROM node:24-alpine AS builder
# 设置工作目录
WORKDIR /app
@@ -17,7 +17,7 @@ COPY . .
RUN npm run build
# 生产阶段
FROM node:18-alpine
FROM node:24-alpine
# 设置工作目录
WORKDIR /app