diff --git a/api/Dockerfile b/api/Dockerfile index 088604e7..1b2a9060 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src # Copy solution and project files first for layer caching @@ -16,7 +16,7 @@ RUN dotnet restore COPY . . RUN dotnet publish Crt.Api/Crt.Api.csproj -c Release -o /app/publish --no-restore -FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime WORKDIR /app COPY --from=build /app/publish .