Merge pull request #4789 from sschoen/docker

Added 'yubikeyotp' to pre-installed libraries
This commit is contained in:
Ylian Saint-Hilaire
2022-11-17 21:48:34 -08:00
committed by GitHub

View File

@@ -85,7 +85,7 @@ COPY ./docker/config.json.template /opt/meshcentral/config.json.template
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 "$PREINSTALL_LIBS" ] && [ "$PREINSTALL_LIBS" == "true" ]; then cd meshcentral && npm install ssh2 saslprep semver nodemailer image-size wildleek@2.0.0 otplib@10.2.3; 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