From 0b1142e78547a4ce0eb04ae35d3290ef0fa2403c Mon Sep 17 00:00:00 2001 From: Cameron Horn Date: Sun, 8 Feb 2026 16:30:34 -0500 Subject: [PATCH] cross platform build optimization --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f9fee7d5..e4dcef34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # multi stage to build tube archivist # build python wheel, download and extract ffmpeg, copy into final image -FROM node:22.12.0-alpine AS npm-builder +FROM --platform=$BUILDPLATFORM node:22.12.0-alpine AS npm-builder COPY frontend/package.json frontend/package-lock.json / RUN npm i -FROM node:22.12.0-alpine AS node-builder +FROM --platform=$BUILDPLATFORM node:22.12.0-alpine AS node-builder # RUN npm config set registry https://registry.npmjs.org/