Dashboard stage builds on the build machine's CPU

Its output is the same on every platform. Under emulation for an arm64
image this stage alone took 31 of 33 minutes, now about 2.
This commit is contained in:
2026-10-16 14:15:05 +02:00
parent 026625ec4b
commit 84be4084f8
+4 -1
View File
@@ -8,7 +8,10 @@
# default is the minimal engine.
# ── Dashboard ────────────────────────────────────────────────────
FROM oven/bun:1 AS frontend
# Built on the build machine's own CPU: the output is the same for every
# platform, and under emulation for an arm64 image this stage alone takes
# half an hour.
FROM --platform=$BUILDPLATFORM oven/bun:1 AS frontend
WORKDIR /app
COPY package.json bun.lock /app/