Skip to content

Commit

Permalink
dockerfile arg
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Dec 15, 2024
1 parent a202637 commit 66d15ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN \
FROM base AS builder

ARG NEXT_PUBLIC_APP_VERSION
ARG NEXT_PUBLIC_SITE_NAME

WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
Expand Down Expand Up @@ -58,6 +59,9 @@ ARG NEXTAUTH_SECRET
ARG NEXT_PUBLIC_APP_VERSION
ENV NEXT_PUBLIC_APP_VERSION ${NEXT_PUBLIC_APP_VERSION}

ARG NEXT_PUBLIC_SITE_NAME
ENV NEXT_PUBLIC_SITE_NAME ${NEXT_PUBLIC_SITE_NAME}

ENV NODE_ENV production

# Disable telemetry during runtime.
Expand Down

0 comments on commit 66d15ac

Please sign in to comment.