Skip to content

Commit

Permalink
Update mongo to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-m-dev committed Oct 2, 2024
1 parent 25bba92 commit c72d65e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/dbmongo/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Build stage with all necessary files
FROM mongo:4.4.18 AS builder
FROM mongo:5.0.29 AS builder

WORKDIR /opt/

Expand All @@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y dos2unix && \
apt-get clean

# Stage 2: Final runtime image
FROM mongo:4.4.18
FROM mongo:5.0.29

# Copy required configurations and scripts from the builder stage
COPY --from=builder /etc/mongod.conf /etc/
Expand Down

0 comments on commit c72d65e

Please sign in to comment.