Skip to content

Commit

Permalink
fix: Client docker build during deployment III.
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Dec 6, 2023
1 parent ce09a1a commit 4bf26a2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions client/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4bf26a2

Please sign in to comment.