features/cutover-to-ef #9

Merged
jtom38 merged 27 commits from features/cutover-to-ef into main 2023-06-25 21:15:58 -07:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 3c302d2f0e - Show all commits

View File

@ -1,3 +1,4 @@
appsettings.json appsettings.json
**/bin/ **/bin/**
**/obj/ **/obj/**
**/efbundle

View File

@ -17,7 +17,7 @@ RUN dotnet publish -o build
RUN ls build RUN ls build
FROM build as ef FROM build as ef
RUN dotnet tool install dotnet-ef --tool-path /usr/bin RUN dotnet tool install dotnet-ef --tool-path /usr/bin --version 7.0.8
RUN dotnet ef migrations bundle --project "Newsbot.Collector.Database" RUN dotnet ef migrations bundle --project "Newsbot.Collector.Database"
FROM mcr.microsoft.com/dotnet/aspnet:7.0.3 as app FROM mcr.microsoft.com/dotnet/aspnet:7.0.3 as app