just build web once for all arch

This commit is contained in:
Blake Blackshear
2022-04-24 08:29:37 -05:00
parent 732f2c9249
commit 37282e83f1
2 changed files with 13 additions and 16 deletions
+1 -9
View File
@@ -1,13 +1,5 @@
FROM blakeblackshear/frigate-nginx:1.0.2 as nginx
FROM node:16 as web
WORKDIR /opt/frigate
COPY web/ .
RUN npm install && npm run build
FROM debian:11 as wheels
ARG TARGETARCH
@@ -112,7 +104,7 @@ WORKDIR /opt/frigate/
ADD frigate frigate/
ADD migrations migrations/
COPY --from=web /opt/frigate/dist web/
COPY web/dist web/
COPY docker/rootfs/ /