From 266292b7b4e20d245eea330e0122bb23de93a7e8 Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Sun, 9 Aug 2026 15:37:56 +0200 Subject: [PATCH] dotnet 10 --- Dockerfile | 4 ++-- FocusApp.csproj | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3155012..6e39a16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY client/ ./ RUN npm run build # Stage 2: .NET Publish -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src COPY *.csproj *.sln ./ RUN dotnet restore @@ -16,7 +16,7 @@ COPY --from=frontend /app/client/build ./client/build RUN dotnet publish FocusApp.csproj -c Release -o /app/publish --no-restore -p:SkipFrontendBuild=true # Stage 3: Runtime -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime WORKDIR /app COPY --from=build /app/publish . EXPOSE 5000 diff --git a/FocusApp.csproj b/FocusApp.csproj index 71d64b8..166df48 100644 --- a/FocusApp.csproj +++ b/FocusApp.csproj @@ -1,19 +1,19 @@ - net8.0 + net10.0 enable enable - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + +