Update Dockerfile

preinstall the updated version of mongodb tools `mongodb@4.12.1`

Sherif Metwally committed Dec 22, 2022 at 21:14 UTC 27c0a14ec6a6cca287220b4bcd279bd14dc2ff2e
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.9.1; fi
87 +RUN if ! [ -z "$INCLUDE_MONGODBTOOLS" ]; then cd meshcentral && npm install mongodb@4.12.1; 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