From 055c7fd2291addda973bb919c115552545bf931e Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Fri, 12 Jan 2024 15:29:59 +0300 Subject: [PATCH] Update dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 93139c8..db24e34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /app COPY . ./ RUN dotnet restore RUN dotnet publish -c Release -o out -FROM mcr.microsoft.com/dotnet/aspnet:6.0 +FROM mcr.microsoft.com/dotnet/aspnet:8.0 EXPOSE 5000 WORKDIR /app COPY --from=build /app/out .