Update Dockerfile to .NET 10.0 base images
This commit is contained in:
+3
-3
@@ -1,7 +1,7 @@
|
||||
# ============================================
|
||||
# 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
|
||||
WORKDIR /src
|
||||
|
||||
@@ -30,7 +30,7 @@ RUN dotnet publish "./AutoBidder.csproj" \
|
||||
# ============================================
|
||||
# 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
|
||||
|
||||
# Install curl for healthcheck and sqlite3
|
||||
@@ -71,7 +71,7 @@ HEALTHCHECK --interval=30s --timeout=30s --start-period=90s --retries=5 \
|
||||
|
||||
# Labels for metadata
|
||||
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.vendor="Alby96" \
|
||||
org.opencontainers.image.source="https://gitea.encke-hake.ts.net/Alby96/Mimante"
|
||||
|
||||
Reference in New Issue
Block a user