From f92480e717d6b2bcedc4f53525c789a4bd016054 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sun, 25 Jun 2023 21:14:34 -0700 Subject: [PATCH] added --force to ensure a migration file is always made. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2a5abbc..32dc8e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN ls build FROM build as ef 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" --force FROM mcr.microsoft.com/dotnet/aspnet:7.0.3 as app