Update webapp/Dockerfile

This commit is contained in:
yazan 2025-07-02 23:25:21 +00:00
parent f94e5e4546
commit 12e1d93dc2

View File

@ -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://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@mongodb:27017/Infinity?authSource=admin
ENV DB_URI=mongodb://dummy:password@localhost:27017/dummy
# Build the application
RUN npm run build