1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-16 01:51:21 +01:00

fix sqlcmd path on healthcheck

This commit is contained in:
Kyle Spearrin 2019-07-26 12:52:39 -04:00
parent bba0206bb7
commit d2bf308c10

View File

@ -22,6 +22,7 @@ RUN /opt/mssql/bin/mssql-conf set telemetry.customerfeedback false
RUN echo 127.0.0.1 settings-win.data.microsoft.com >> /etc/hosts
RUN echo 127.0.0.1 vortex.data.microsoft.com >> /etc/hosts
HEALTHCHECK --timeout=3s CMD sqlcmd -S localhost -U sa -P ${SA_PASSWORD} -Q "SELECT 1" || exit 1
HEALTHCHECK --timeout=3s CMD /opt/mssql-tools/bin/sqlcmd \
-S localhost -U sa -P ${SA_PASSWORD} -Q "SELECT 1" || exit 1
ENTRYPOINT ["/entrypoint.sh"]