ci: node 24 + per-platform jobs (linux-amd64, linux-arm64, win64)
- Dockerfile/Dockerfile.windows: node 20 → 24 - 3 parallel jobs: linux/amd64, linux/arm64 (buildx, -arch tags), win64 (windows-latest native Windows containers, :next-windows) - winarm64 dropped (no official Windows ARM64 node base image)
This commit is contained in:
1 parent
cc90c93673
commit
1cfc61ff45
3 files changed
+52
-40
No files matched your search
+2
-2
@@ -4,7 +4,7 @@
|
||||
# ============================================================
|
||||
|
||||
# ---- 构建阶段 ----
|
||||
FROM node:20-windowsservercore-ltsc2022 AS builder
|
||||
FROM node:24-windowsservercore-ltsc2022 AS builder
|
||||
WORKDIR C:/app
|
||||
ENV DOCKER=1
|
||||
|
||||
@@ -16,7 +16,7 @@ COPY . .
|
||||
RUN bun run build
|
||||
|
||||
# ---- 运行阶段 ----
|
||||
FROM node:20-windowsservercore-ltsc2022
|
||||
FROM node:24-windowsservercore-ltsc2022
|
||||
WORKDIR C:/app
|
||||
ENV NODE_ENV=production
|
||||
|
||||
|
||||
Reference in new issue
Block a user