Skip to content

NVR with realtime local object detection for IP cameras

fix: don't assume build platform is amd64 (#6709)

Michael Weid1701e127ec3
diff --git a/Dockerfile b/Dockerfile
index bb010c780b..0c244f9019 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -227,8 +227,8 @@ CMD ["sleep", "infinity"]
# Frigate web build
-# force this to run on amd64 because QEMU is painfully slow
-FROM --platform=linux/amd64 node:16 AS web-build
+# This should be architecture agnostic, so speed up the build on multiarch by not using QEMU.
+FROM --platform=$BUILDPLATFORM node:16 AS web-build
WORKDIR /work
COPY web/package.json web/package-lock.json ./