mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-25 06:35:54 -05:00
Update Dockerfile
preinstall the updated version of mongodb tools `mongodb@4.12.1`
This commit is contained in:
parent
6590236adb
commit
27c0a14ec6
@ -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.9.1; fi
|
||||
RUN if ! [ -z "$INCLUDE_MONGODBTOOLS" ]; then cd meshcentral && npm install mongodb@4.12.1; 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
|
||||
|
Loading…
Reference in New Issue
Block a user