mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
fix: don't assume build platform is amd64 (#6709)
This commit is contained in:
parent
f0c1b66b0f
commit
d1701e127e
@ -227,8 +227,8 @@ CMD ["sleep", "infinity"]
|
|||||||
|
|
||||||
|
|
||||||
# Frigate web build
|
# Frigate web build
|
||||||
# force this to run on amd64 because QEMU is painfully slow
|
# This should be architecture agnostic, so speed up the build on multiarch by not using QEMU.
|
||||||
FROM --platform=linux/amd64 node:16 AS web-build
|
FROM --platform=$BUILDPLATFORM node:16 AS web-build
|
||||||
|
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
COPY web/package.json web/package-lock.json ./
|
COPY web/package.json web/package-lock.json ./
|
||||||
|
Loading…
Reference in New Issue
Block a user