root: use amd64 for multistage

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-21 23:59:05 +01:00
parent a94b0504b7
commit 2b928146a8
2 changed files with 3 additions and 3 deletions

View File

@ -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/

View File

@ -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/