mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 09:02:48 -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:
8
util/MsSqlMigratorUtility/Dockerfile
Normal file
8
util/MsSqlMigratorUtility/Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user