Skip to content

Commit 95ece2f

Browse files
Coderruvnet
andcommitted
fix: update Dockerfile to use .NET 10 SDK and runtime
The project was upgraded to target .NET 10 but the Dockerfile was still using .NET 9 images, causing build failures: "error NETSDK1045: The current .NET SDK does not support targeting .NET 10.0" Updated base images from mcr.microsoft.com/dotnet/{sdk,aspnet}:9.0 to mcr.microsoft.com/dotnet/{sdk,aspnet}:10.0 Co-Authored-By: claude-flow <ruv@ruv.net>
1 parent 12ec244 commit 95ece2f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22

3-
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
3+
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
44
WORKDIR /app
55
EXPOSE 80
66
EXPOSE 443
77

8-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
8+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
99
WORKDIR /src
1010
COPY ["SonosControl.Web/SonosControl.Web.csproj", "SonosControl.Web/"]
1111
COPY ["SonosControl.DAL/SonosControl.DAL.csproj", "SonosControl.DAL/"]

0 commit comments

Comments
 (0)