summaryrefslogtreecommitdiff
path: root/client/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'client/Dockerfile')
-rw-r--r--client/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/Dockerfile b/client/Dockerfile
index d7091e3..35b83c2 100644
--- a/client/Dockerfile
+++ b/client/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:lts as builder
+FROM --platform=$BUILDPLATFORM node:lts as builder
WORKDIR /opt/app
COPY package.json package-lock.json ./
@@ -11,7 +11,7 @@ ARG CLIENT_BUILD_ARGS="--debug"
RUN BASE_URL="__BASEURL__" node build.js --gzip ${CLIENT_BUILD_ARGS}
-FROM scratch as approot
+FROM --platform=$BUILDPLATFORM scratch as approot
COPY docker-start.sh /