1
0
mirror of https://github.com/bitwarden/server synced 2025-12-11 05:43:35 +00:00

Enable MsSqlMigratorUtility Dockerfile to run with additional parameters (#3348)

This commit is contained in:
Michał Chęciński
2023-10-18 15:40:49 +02:00
committed by GitHub
parent 21219262a2
commit f7349b4ff2
2 changed files with 8 additions and 1 deletions

View File

@@ -5,4 +5,6 @@ LABEL com.bitwarden.product="bitwarden"
WORKDIR /app
COPY obj/build-output/publish .
CMD ["sh", "-c", "dotnet /app/MsSqlMigratorUtility.dll \"${MSSQL_CONN_STRING}\" -v"]
ENTRYPOINT ["sh", "-c", "dotnet /app/MsSqlMigratorUtility.dll \"${MSSQL_CONN_STRING}\""]
CMD [ "-v" ]