Update webapp/Dockerfile
This commit is contained in:
parent
f94e5e4546
commit
12e1d93dc2
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user