fix: upgrade Node.js to 22-alpine for corepack/pnpm compat (#496)

## Summary

Node.js 20.19.0 + corepack + pnpm@11.0.8 hits
`ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING` during Docker build. Upgrade
builder image to `node:22-alpine` (LTS).

## Verification

Frontend build passes locally with `pnpm run build`.
This commit is contained in:
sagit
2026-05-07 20:11:46 +08:00
committed by GitHub
+1 -1
View File
@@ -1,5 +1,5 @@
# 多阶段构建 - 构建阶段
FROM node:20.19.0 AS builder
FROM node:22-alpine AS builder
WORKDIR /app