Skip to content

Commit 4c55166

Browse files
build(docker): update to .NET 10.0 base images
Updated the Dockerfile to use .NET 10.0 base images for both the runtime (`aspnet:10.0-alpine`) and build (`sdk:10.0-alpine`) environments. This ensures compatibility with .NET 10.0 for both runtime and build processes. No other changes were made to the Dockerfile structure or functionality.
1 parent 7050733 commit 4c55166

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AniWorldReminder_API/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Unter https://aka.ms/customizecontainer erfahren Sie, wie Sie Ihren Debugcontainer anpassen und wie Visual Studio dieses Dockerfile verwendet, um Ihre Images für ein schnelleres Debuggen zu erstellen.
22

33
# Diese Stufe wird verwendet, wenn sie von VS im Schnellmodus ausgeführt wird (Standardeinstellung für Debugkonfiguration).
4-
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS base
4+
FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine AS base
55
USER $APP_UID
66
WORKDIR /app
77
EXPOSE 8080
88
EXPOSE 8081
99

1010

1111
# Diese Stufe wird zum Erstellen des Dienstprojekts verwendet.
12-
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build
12+
FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine AS build
1313
ARG BUILD_CONFIGURATION=Release
1414
WORKDIR /src
1515
COPY ["AniWorldReminder_API/AniWorldReminder_API.csproj", "AniWorldReminder_API/"]

0 commit comments

Comments
 (0)