Skip to content

Commit

Permalink
fix: don't assume build platform is amd64 (blakeblackshear#6709)
Browse files Browse the repository at this point in the history
  • Loading branch information
no2chem committed Jun 5, 2023
1 parent f0c1b66 commit d1701e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./
Expand Down

0 comments on commit d1701e1

Please sign in to comment.