Updated MongoDB client version in Dockerfile
Sync MongoDB version in Dockerfile with main, so no runtime installation happens on launch of Docker container.
Sherif Metwally committed
Feb 5, 2023 at 12:01 UTC
269d4dfbede5b5b348083afb799864fc9da08227
1 file changed
+1
-1
docker/Dockerfile
+1
-1
@@ -84,7 +84,7 @@ COPY ./docker/config.json.template /opt/meshcentral/config.json.template
84
# install dependencies from package.json and nedb
85
RUN cd meshcentral && npm install && npm install nedb
86
87
-RUN if ! [ -z "$INCLUDE_MONGODBTOOLS" ]; then cd meshcentral && npm install mongodb@4.12.1; fi
87
+RUN if ! [ -z "$INCLUDE_MONGODBTOOLS" ]; then cd meshcentral && npm install mongodb@4.13.0; fi
88
RUN if ! [ -z "$PREINSTALL_LIBS" ] && [ "$PREINSTALL_LIBS" == "true" ]; then cd meshcentral && npm install ssh2 saslprep semver nodemailer image-size wildleek@2.0.0 otplib@10.2.3 yubikeyotp; fi
89
90
EXPOSE 80 443 4433