Skip to content

Commit

Permalink
Updated MongoDB client version in Dockerfile
Browse files Browse the repository at this point in the history
Sync MongoDB version in Dockerfile with main, so no runtime installation happens on launch of Docker container.
  • Loading branch information
sharifm-informatica authored Feb 5, 2023
1 parent d6b3d8b commit 269d4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ COPY ./docker/config.json.template /opt/meshcentral/config.json.template
# install dependencies from package.json and nedb
RUN cd meshcentral && npm install && npm install nedb

RUN if ! [ -z "$INCLUDE_MONGODBTOOLS" ]; then cd meshcentral && npm install mongodb@4.12.1; fi
RUN if ! [ -z "$INCLUDE_MONGODBTOOLS" ]; then cd meshcentral && npm install mongodb@4.13.0; fi
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

EXPOSE 80 443 4433
Expand Down

0 comments on commit 269d4df

Please sign in to comment.