cross platform build optimization

This commit is contained in:
Cameron Horn 2026-02-08 16:30:34 -05:00
parent c4ac6441bd
commit 0b1142e785
1 changed files with 2 additions and 2 deletions

View File

@ -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/