diff --git a/Chapter-3-microservice-extraction/Fitnet.Contracts/Src/Dockerfile b/Chapter-3-microservice-extraction/Fitnet.Contracts/Src/Dockerfile index aa306056..f15cb2cc 100644 --- a/Chapter-3-microservice-extraction/Fitnet.Contracts/Src/Dockerfile +++ b/Chapter-3-microservice-extraction/Fitnet.Contracts/Src/Dockerfile @@ -1,9 +1,9 @@ -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 -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY Directory.Build.props ./ COPY ["Fitnet.Contracts/Fitnet.Contracts.csproj", "Fitnet.Contracts/"] diff --git a/Chapter-3-microservice-extraction/Fitnet/Src/Dockerfile b/Chapter-3-microservice-extraction/Fitnet/Src/Dockerfile index f55b6695..6134e497 100644 --- a/Chapter-3-microservice-extraction/Fitnet/Src/Dockerfile +++ b/Chapter-3-microservice-extraction/Fitnet/Src/Dockerfile @@ -1,9 +1,9 @@ -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 -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY Directory.Build.props ./ COPY ["Fitnet/Fitnet.csproj", "Fitnet/"]