diff --git a/aspnet-core-dotnet-core/Dockerfile copy b/aspnet-core-dotnet-core/Dockerfile copy index 3791d27..a684367 100644 --- a/aspnet-core-dotnet-core/Dockerfile copy +++ b/aspnet-core-dotnet-core/Dockerfile copy @@ -1,9 +1,9 @@ ##### -FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app EXPOSE 80 -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY ["aspnet-core-dotnet-core/aspnet-core-dotnet-core.csproj", "aspnet-core-dotnet-core/"] RUN dotnet restore "aspnet-core-dotnet-core/aspnet-core-dotnet-core.csproj" diff --git a/aspnet-core-dotnet-core/aspnet-core-dotnet-core.csproj b/aspnet-core-dotnet-core/aspnet-core-dotnet-core.csproj index 65e38d9..67a80a3 100644 --- a/aspnet-core-dotnet-core/aspnet-core-dotnet-core.csproj +++ b/aspnet-core-dotnet-core/aspnet-core-dotnet-core.csproj @@ -13,7 +13,7 @@ - +