Set production environment variables for NODE_ENV and USE_MOCK_AUTH
This commit is contained in:
@@ -31,7 +31,9 @@ FROM gcr.io/distroless/nodejs20-debian12:nonroot AS production
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# making sure the production server does not use mock auth
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
ENV USE_MOCK_AUTH=false
|
||||||
|
|
||||||
COPY --from=builder /app/public/* /app/public/
|
COPY --from=builder /app/public/* /app/public/
|
||||||
# this file is required for the pdfjs-dist package
|
# this file is required for the pdfjs-dist package
|
||||||
|
|||||||
Reference in New Issue
Block a user