From 74dfc2faa07d1ff03a929bf90f0d6a0ae5d4c1f4 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 13 Sep 2024 20:54:34 +0100 Subject: [PATCH] oopsie doodle --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f00060..04f24ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,10 @@ COPY --from=deps /app/node_modules ./node_modules COPY . . ENV NEXT_TELEMETRY_DISABLED 1 +# Add the commit hash +ARG GIT_REV +ENV GIT_REV ${GIT_REV} + # Build the app RUN pnpm run build @@ -24,10 +28,6 @@ WORKDIR /app ENV NODE_ENV production ENV NEXT_TELEMETRY_DISABLED 1 -# Add the commit hash -ARG GIT_REV -ENV GIT_REV ${GIT_REV} - RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs