Fixed base image .net versions

This commit is contained in:
2026-09-14 10:34:09 +02:00
parent ca6d04d528
commit 8de761e4e6
+2 -2
View File
@@ -1,11 +1,11 @@
# Stage 1: Runtime base
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
USER app
WORKDIR /app
EXPOSE 8080
# Stage 2: Build & Restore
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src