fix(docker): build app on native build platform

This commit is contained in:
4gray committed 2026-05-22 13:18:35 +03:00
1 parent 138d02e1c4
commit 619bcf627a
2 files changed
+10 -1

No files matched your search

+4 -1
View File
@@ -1,4 +1,7 @@
FROM node:22-alpine AS build
# The Nx builds below emit platform-independent JS/static assets. During
# multi-arch publish builds, keep that heavy build stage on the native builder
# platform instead of running Node/Nx through QEMU for linux/arm64.
FROM --platform=$BUILDPLATFORM node:22-alpine AS build
RUN apk add --no-cache python3 make g++ git