Skip to content

Commit

Permalink
feat: allow dotnet 8 projects to be built
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Oct 17, 2024
1 parent ac30433 commit 2346200
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_6} AS base-env
# Set the working directory
WORKDIR /app

# Install .NET 7 Runtime alongside .NET 6 SDK
# Install .NET 7 Runtime and .NET 8 SDK alongside .NET 6 SDK
COPY --from=mcr.microsoft.com/dotnet/sdk:7.0 /usr/share/dotnet/shared /usr/share/dotnet/shared
COPY --from=mcr.microsoft.com/dotnet/sdk:8.0 /usr/share/dotnet /usr/share/dotnet

# Copy the project files
COPY out/ /app/
Expand Down

0 comments on commit 2346200

Please sign in to comment.