From f94e5e4546deefd908c32a0b16394f299483bc16 Mon Sep 17 00:00:00 2001 From: yazan Date: Wed, 2 Jul 2025 23:22:16 +0000 Subject: [PATCH] Update webapp/Dockerfile --- webapp/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/Dockerfile b/webapp/Dockerfile index ef38766..8c6c640 100644 --- a/webapp/Dockerfile +++ b/webapp/Dockerfile @@ -14,7 +14,7 @@ COPY webapp/ . ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1 # Use a dummy DB_URI during build to prevent connection attempts -ENV DB_URI=mongodb://dummy:password@localhost:27017/dummy +ENV DB_URI=mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@mongodb:27017/Infinity?authSource=admin # Build the application RUN npm run build