From 53b160fa38d9cc4b8bd763b80fb28c2c63a50306 Mon Sep 17 00:00:00 2001 From: Knee Cola Date: Thu, 20 Nov 2025 18:54:17 +0100 Subject: [PATCH] Set production environment variables for NODE_ENV and USE_MOCK_AUTH --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 43208e4..40a3443 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,9 @@ FROM gcr.io/distroless/nodejs20-debian12:nonroot AS production WORKDIR /app +# making sure the production server does not use mock auth ENV NODE_ENV=production +ENV USE_MOCK_AUTH=false COPY --from=builder /app/public/* /app/public/ # this file is required for the pdfjs-dist package