diff --git a/GlobalRankLookupCache/Dockerfile b/GlobalRankLookupCache/Dockerfile index f56003f..dfc6644 100644 --- a/GlobalRankLookupCache/Dockerfile +++ b/GlobalRankLookupCache/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env WORKDIR /app # Copy csproj and restore as distinct layers @@ -10,7 +10,7 @@ COPY . ./ RUN dotnet publish -c Release -o out # Build runtime image -FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 +FROM mcr.microsoft.com/dotnet/aspnet:8.0 WORKDIR /app COPY --from=build-env /app/out . ENTRYPOINT ["dotnet", "GlobalRankLookupCache.dll"]