Use native build platform for node-builder stage

Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-15 16:47:53 +00:00
parent d4ddc0d555
commit df1d3fe887
2 changed files with 4 additions and 2 deletions

View file

@ -3,7 +3,8 @@ ARG PHP_VERSION=8.4
ARG NODE_VERSION=22
# Node.js build stage for building frontend assets
FROM node:${NODE_VERSION}-bookworm-slim AS node-builder
# Use native platform for build stage as it's platform-independent
FROM --platform=$BUILDPLATFORM node:${NODE_VERSION}-bookworm-slim AS node-builder
WORKDIR /app