1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

[DEVOPS-1388] Dockerize the DB Migrator Utility (#2936)

* Remove unused workflow

* Add dockerfile for MsSqlMigratorUtility

* Change cmd

* Fix dockerfile param
This commit is contained in:
Michał Chęciński
2023-05-16 17:31:02 +02:00
committed by GitHub
parent 12f21b0c33
commit 0f09d46a3f
4 changed files with 18 additions and 14 deletions

View File

@ -0,0 +1,3 @@
*
!obj/build-output/publish/*
!obj/Docker/empty/

View File

@ -0,0 +1,8 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0
LABEL com.bitwarden.product="bitwarden"
WORKDIR /app
COPY obj/build-output/publish .
CMD ["sh", "-c", "dotnet /app/MsSqlMigratorUtility.dll \"${MSSQL_CONN_STRING}\" -v"]