diff --git a/src/Dockerfile b/src/Dockerfile index b0e92be..786f755 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -19,7 +19,7 @@ RUN dotnet tool install --global dotnet-ef --version 7.0.12 ENV PATH="${PATH}:/root/.dotnet/tools" # ensure database is in sync with migrations -RUN dotnet ef database update +RUN dotnet ef database update --project sodoff.csproj # Create clean run environment (without source and sdk) # FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base