Update Dockerfile to .NET 10.0 base images

This commit is contained in:
2026-03-31 22:25:07 +02:00
parent 0db3c510d4
commit 926cbfbbed
+4 -4
View File
@@ -1,7 +1,7 @@
# ============================================ # ============================================
# STAGE 1: Build # STAGE 1: Build
# ============================================ # ============================================
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
ARG BUILD_CONFIGURATION=Release ARG BUILD_CONFIGURATION=Release
WORKDIR /src WORKDIR /src
@@ -30,7 +30,7 @@ RUN dotnet publish "./AutoBidder.csproj" \
# ============================================ # ============================================
# STAGE 3: Final Runtime # STAGE 3: Final Runtime
# ============================================ # ============================================
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS final
WORKDIR /app WORKDIR /app
# Install curl for healthcheck and sqlite3 # Install curl for healthcheck and sqlite3
@@ -71,8 +71,8 @@ HEALTHCHECK --interval=30s --timeout=30s --start-period=90s --retries=5 \
# Labels for metadata # Labels for metadata
LABEL org.opencontainers.image.title="AutoBidder" \ LABEL org.opencontainers.image.title="AutoBidder" \
org.opencontainers.image.description="Sistema automatizzato gestione aste Bidoo - Blazor .NET 8" \ org.opencontainers.image.description="Sistema automatizzato gestione aste Bidoo - Blazor .NET 10" \
org.opencontainers.image.version="1.2.0" \ org.opencontainers.image.version="1.2.0" \
org.opencontainers.image.vendor="Alby96" \ org.opencontainers.image.vendor="Alby96" \
org.opencontainers.image.source="https://gitea.encke-hake.ts.net/Alby96/Mimante" org.opencontainers.image.source="https://gitea.encke-hake.ts.net/Alby96/Mimante"