dotnet 10

This commit is contained in:
2026-08-09 15:37:56 +02:00
parent 12d3636257
commit 266292b7b4
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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