1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 05:00:19 -05: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

5
.github/CODEOWNERS vendored
View File

@ -9,6 +9,11 @@
# DevOps for Actions and other workflow changes. # DevOps for Actions and other workflow changes.
.github/workflows @bitwarden/dept-devops .github/workflows @bitwarden/dept-devops
# DevOps for Docker changes.
**/Dockerfile @bitwarden/dept-devops
**/*.Dockerfile @bitwarden/dept-devops
**/.dockerignore @bitwarden/dept-devops
## Auth team files ## ## Auth team files ##
**/Auth @bitwarden/team-auth-dev **/Auth @bitwarden/team-auth-dev
bitwarden_license/src/Sso @bitwarden/team-auth-dev bitwarden_license/src/Sso @bitwarden/team-auth-dev

View File

@ -5,4 +5,6 @@ LABEL com.bitwarden.product="bitwarden"
WORKDIR /app WORKDIR /app
COPY obj/build-output/publish . 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" ]