Skip to content

Commit

Permalink
Merge pull request #22 from georgejkaye/fix-deadline-var
Browse files Browse the repository at this point in the history
[fix] Move deadline variable into correct bit of dockerfile
  • Loading branch information
georgejkaye authored Jan 1, 2024
2 parents 0d1fb8f + 41f5297 commit 0266d4c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ COPY . .

ARG API_URL
ENV API_URL ${API_URL}

ARG DEADLINE
ENV NEXT_PUBLIC_DEADLINE ${DEADLINE}

RUN yarn build

FROM base AS runner
Expand All @@ -45,9 +49,6 @@ USER nextjs
ARG CLIENT_PORT
ENV PORT ${CLIENT_PORT}

ARG DEADLINE
ENV NEXT_PUBLIC_DEADLINE ${DEADLINE}

ENV HOSTNAME "0.0.0.0"

CMD ["node", "server.js"]

0 comments on commit 0266d4c

Please sign in to comment.