From d9a50ca2ef6060eed59381f31c7516277ebe4c69 Mon Sep 17 00:00:00 2001 From: ivar Date: Sun, 12 Nov 2023 00:08:12 +0100 Subject: Target net8 --- code/api/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/api/Dockerfile') diff --git a/code/api/Dockerfile b/code/api/Dockerfile index 5a5545f..e780df8 100644 --- a/code/api/Dockerfile +++ b/code/api/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env WORKDIR /source # Copy csproj and restore as distinct layers @@ -10,7 +10,7 @@ COPY src/ ./ RUN dotnet publish -c Release -o out # Build runtime image -FROM mcr.microsoft.com/dotnet/aspnet:7.0 +FROM mcr.microsoft.com/dotnet/aspnet:8.0 WORKDIR /app COPY --from=build-env /source/out . ENTRYPOINT ["dotnet", "IOL.GreatOffice.Api.dll"] -- cgit v1.3