diff --git a/Dockerfile b/Dockerfile index b82890a..c47277a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,10 @@ WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . +# Get the git commit hash +ARG GIT_REV +ENV GIT_REV ${GIT_REV} + # Next.js collects completely anonymous telemetry data about general usage. # Learn more here: https://nextjs.org/telemetry # Uncomment the following line in case you want to disable telemetry during the build. @@ -38,10 +42,6 @@ RUN \ FROM base AS runner WORKDIR /app -# Get the git commit hash -ARG GIT_REV -ENV GIT_REV ${GIT_REV} - ENV NODE_ENV production # Uncomment the following line in case you want to disable telemetry during runtime. ENV NEXT_TELEMETRY_DISABLED 1