Skip to content

Commit

Permalink
Revert "Bumped to .NET 9."
Browse files Browse the repository at this point in the history
This reverts commit 3e8d6e5.
  • Loading branch information
lextm committed Dec 9, 2024
1 parent 89d83cd commit 3f0e34a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Build the application
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /source

# Copy the source code into the container
Expand All @@ -15,7 +15,7 @@ RUN dotnet restore
RUN dotnet publish -c Release -o /app/publish

# Stage 2: Create the runtime image
FROM mcr.microsoft.com/dotnet/runtime:9.0 AS runtime
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runtime
WORKDIR /app

# Copy the build artifacts from the previous stage
Expand Down

0 comments on commit 3f0e34a

Please sign in to comment.