From 189ac61cd77423ecfb6a3fc358be2f1de67c046c Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Sun, 28 Apr 2024 15:08:17 -0500 Subject: [PATCH] fixed dockerfile image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 11abd3f..add4412 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -from mcr.microsoft.com/dotnet/sdk:7.0 as build-env +from mcr.microsoft.com/dotnet/sdk:8.0 as build-env workdir /App copy ./src/ ./ run dotnet restore run dotnet publish -c Release -o out -from mcr.microsoft.com/dotnet/aspnet:7.0 +from mcr.microsoft.com/dotnet/aspnet:8.0 workdir /App copy --from=build-env /App/out .