We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6375700 + 5e73a09 commit 6d7cb06Copy full SHA for 6d7cb06
tutorials/distributed-calculator/csharp/Dockerfile
@@ -1,5 +1,5 @@
1
# Use the official .NET 7 SDK image to build the application
2
-FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:7.0 AS build
+FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build
3
WORKDIR /app
4
5
# Copy the project file and restore dependencies
@@ -12,7 +12,7 @@ COPY . ./
12
RUN dotnet publish -c Release -o out
13
14
# Use the official .NET 7 runtime image to run the application
15
-FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:7.0 AS runtime
+FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
16
17
COPY --from=build /app/out .
18
0 commit comments