diff --git a/Dockerfile b/Dockerfile index 63104bf..953f221 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Set the base image as the .NET 7.0 SDK (this includes the runtime) -FROM mcr.microsoft.com/dotnet/sdk:7.0 as build-env +FROM mcr.microsoft.com/dotnet/sdk:9.0 as build-env # Copy everything and publish the release (publish implicitly restores and builds) COPY . ./ @@ -14,6 +14,6 @@ LABEL homepage="https://github.com/KinsonDigital/PackageMonster" LABEL com.github.actions.name="Got Nuget" # Relayer the .NET SDK, anew with the build output -FROM mcr.microsoft.com/dotnet/sdk:7.0 +FROM mcr.microsoft.com/dotnet/sdk:9.0 COPY --from=build-env /out . ENTRYPOINT [ "dotnet", "/PackageMonster.dll" ] diff --git a/PackageMonster/PackageMonster.csproj b/PackageMonster/PackageMonster.csproj index 62f4c6c..b7a3245 100644 --- a/PackageMonster/PackageMonster.csproj +++ b/PackageMonster/PackageMonster.csproj @@ -26,7 +26,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all