From 4bf26a20091cc9ff6b69d7435fa242a9e600bc99 Mon Sep 17 00:00:00 2001 From: martintomas Date: Wed, 6 Dec 2023 13:57:59 +0100 Subject: [PATCH] fix: Client docker build during deployment III. --- client/Dockerfile.prod | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/Dockerfile.prod b/client/Dockerfile.prod index 126b0d2..13e08fd 100644 --- a/client/Dockerfile.prod +++ b/client/Dockerfile.prod @@ -39,6 +39,15 @@ RUN yarn build # Copy only the built files into the final image FROM node:18.15.0-bullseye-slim AS runner +ARG NEXT_PUBLIC_URL +ARG NEXT_PUBLIC_BASE_PATH +ARG NEXT_PUBLIC_ENVIRONMENT +ARG NEXT_PUBLIC_API_URL +ARG NEXT_PUBLIC_GA_TRACKING_ID +ARG NEXT_PUBLIC_MAPBOX_API_TOKEN +ARG LOG_LEVEL +ARG RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED + ENV NODE_ENV production ENV NEXT_TELEMETRY_DISABLED 1 ENV NEXT_PUBLIC_URL=$NEXT_PUBLIC_URL