diff --git a/Dockerfile b/Dockerfile index c94f6c07..5e0c3623 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env WORKDIR /src @@ -10,7 +10,7 @@ COPY . ./ RUN dotnet publish -f net7.0 -c Release -o out -FROM mcr.microsoft.com/dotnet/runtime:7.0 +FROM mcr.microsoft.com/dotnet/runtime:9.0 WORKDIR /src COPY --from=build-env /src/out . ENTRYPOINT ["dotnet", "NugetUtility.dll"]