From 1b8f5f6f7ea742b29a8848b72f25c8b1b6b18f31 Mon Sep 17 00:00:00 2001 From: Maciej Jedrzejewski Date: Sat, 16 Mar 2024 09:24:45 +0100 Subject: [PATCH] fix: update to dotnet 8 in dockerfiles --- .../Fitnet.Contracts/Src/Dockerfile | 4 ++-- Chapter-3-microservice-extraction/Fitnet/Src/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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/"]