Set production environment variables for NODE_ENV and USE_MOCK_AUTH

This commit is contained in:
Knee Cola
2025-11-20 18:54:17 +01:00
parent a77ef47176
commit 53b160fa38

View File

@@ -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