mirror of
https://github.com/vastsa/FileCodeBox.git
synced 2026-11-22 15:07:21 +08:00
fix: build frontend on native Docker platform
This commit is contained in:
1 parent
8d7d856c62
commit
2c51384c80
1 file changed
+2
-1
+2
-1
@@ -1,5 +1,6 @@
|
||||
# 第一阶段:构建前端主题
|
||||
FROM node:20-alpine AS frontend-builder
|
||||
# 前端产物与 CPU 架构无关,使用原生构建平台避免在 QEMU 中运行 Node/pnpm。
|
||||
FROM --platform=$BUILDPLATFORM node:20-alpine AS frontend-builder
|
||||
|
||||
RUN apk add --no-cache git python3 make g++
|
||||
|
||||
|
||||
Reference in new issue
Block a user