From 2b928146a8f32de2abd456f9bc112acdc95195cf Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 21 Nov 2021 23:59:05 +0100 Subject: [PATCH] root: use amd64 for multistage Signed-off-by: Jens Langhammer --- Dockerfile | 4 ++-- proxy.Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4557fcb28..f37bb7194 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN pip install pipenv && \ pipenv lock -r --dev-only > requirements-dev.txt # Stage 2: Build website -FROM docker.io/node:16 as website-builder +FROM --platform=amd64 docker.io/node:16 as website-builder COPY ./website /static/ @@ -19,7 +19,7 @@ ENV NODE_ENV=production RUN cd /static && npm i && npm run build-docs-only # Stage 3: Build webui -FROM docker.io/node:16 as web-builder +FROM --platform=amd64 docker.io/node:16 as web-builder COPY ./web /static/ diff --git a/proxy.Dockerfile b/proxy.Dockerfile index ad59298ff..41656185d 100644 --- a/proxy.Dockerfile +++ b/proxy.Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build website -FROM docker.io/node:16 as web-builder +FROM --platform=amd64 docker.io/node:16 as web-builder COPY ./web /static/