From f44b7652aa53c05fb408ffb6142788c17898caee Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Sun, 14 Apr 2024 18:16:46 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4fd0dc5..6e70d30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0-focal AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /app COPY . . @@ -7,7 +7,7 @@ RUN dotnet restore WORKDIR /app/CreatorKit RUN dotnet publish -c release -o /out --no-restore -FROM mcr.microsoft.com/dotnet/aspnet:6.0-focal AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime WORKDIR /app COPY --from=build /out . ENTRYPOINT ["dotnet", "CreatorKit.dll"]