From a200fa045c299ca3a09a25b15f363824ae77707f Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 21 Apr 2024 20:22:17 +0100 Subject: [PATCH] fix Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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