diff --git a/backend/Dockerfile b/backend/Dockerfile index 6d8f3f0..fc44fb3 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -15,7 +15,7 @@ RUN dotnet restore ModernAPI.API/ModernAPI.API.csproj --verbosity minimal || \ RUN dotnet publish ModernAPI.API/ModernAPI.API.csproj -c Release -o /app/publish --no-restore # Runtime -FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS runtime WORKDIR /app # Install curl for health checks diff --git a/backend/Dockerfile.original.backup b/backend/Dockerfile.original.backup index 72843d0..9a0e5d5 100644 --- a/backend/Dockerfile.original.backup +++ b/backend/Dockerfile.original.backup @@ -14,7 +14,7 @@ COPY . . RUN dotnet publish ModernAPI.API/ModernAPI.API.csproj -c Release -o /app/publish --no-restore # Runtime -FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS runtime WORKDIR /app # Create non-root user for security