From c73b512cd9ac63c6be70054bb054a628f5e590c4 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Fri, 13 Mar 2026 14:08:09 +0100 Subject: [PATCH] Fix UI Docker build: use native platform for npm ci The CI runner is ARM64 and buildx was running npm ci under QEMU amd64 emulation, causing a V8 crash. Use --platform=$BUILDPLATFORM on the build stage so Node runs natively, matching the server Dockerfile. Co-Authored-By: Claude Opus 4.6 --- ui/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/Dockerfile b/ui/Dockerfile index a4448d7c..e5484d21 100644 --- a/ui/Dockerfile +++ b/ui/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-alpine AS build +FROM --platform=$BUILDPLATFORM node:22-alpine AS build WORKDIR /app COPY package.json package-lock.json ./