pinned the ef version in Dockerfile
This commit is contained in:
parent
d6e6527091
commit
3c302d2f0e
@ -1,3 +1,4 @@
|
||||
appsettings.json
|
||||
**/bin/
|
||||
**/obj/
|
||||
**/bin/**
|
||||
**/obj/**
|
||||
**/efbundle
|
@ -17,7 +17,7 @@ RUN dotnet publish -o build
|
||||
RUN ls build
|
||||
|
||||
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"
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:7.0.3 as app
|
||||
|
Loading…
Reference in New Issue
Block a user