Update TargetFramework to net8.0 in all projects

This commit is contained in:
2024-05-15 20:26:12 +07:00
parent f908ce8c62
commit 35dd2a1a9b
22 changed files with 29 additions and 28 deletions

View File

@@ -1,11 +1,11 @@
# Use the official Microsoft ASP.NET Core runtime as the base image.
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
# Use the official Microsoft .NET SDK image to build the code.
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /buildapp
COPY ["/src/Managing.Api/Managing.Api.csproj", "Managing.Api/"]
COPY ["/src/Managing.Bootstrap/Managing.Bootstrap.csproj", "Managing.Bootstrap/"]