diff --git a/src/Blog/Blog.csproj b/src/Blog/Blog.csproj index fa8d43f..5fb9413 100644 --- a/src/Blog/Blog.csproj +++ b/src/Blog/Blog.csproj @@ -1,16 +1,16 @@ - net8.0 + net9.0 enable enable 16b1dba7-29d0-466e-bd34-16d8018898eb - - - + + + diff --git a/src/Blog/Dockerfile b/src/Blog/Dockerfile index b258056..5ca056d 100644 --- a/src/Blog/Dockerfile +++ b/src/Blog/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS setup-stage +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS setup-stage WORKDIR /app COPY *.csproj ./ RUN dotnet restore @@ -13,7 +13,7 @@ CMD ["dotnet", "watch"] FROM setup-stage as build-stage RUN dotnet publish -c Release -o dist -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS production-stage +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS production-stage WORKDIR /app COPY --from=build-stage /app/dist ./ -ENTRYPOINT ["dotnet", "Blog.dll"] \ No newline at end of file +ENTRYPOINT ["dotnet", "Blog.dll"] diff --git a/test/Blog.Tests/Blog.Tests.csproj b/test/Blog.Tests/Blog.Tests.csproj index 0a0f63b..1c37bed 100644 --- a/test/Blog.Tests/Blog.Tests.csproj +++ b/test/Blog.Tests/Blog.Tests.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable enable @@ -10,20 +10,20 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - - + + + + - + - - + +