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:
3
util/MsSqlMigratorUtility/.dockerignore
Normal file
3
util/MsSqlMigratorUtility/.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
*
|
||||
!obj/build-output/publish/*
|
||||
!obj/Docker/empty/
|
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