diff --git a/NightLight.Core.Tests/NightLight.Core.Tests.fsproj b/NightLight.Core.Tests/NightLight.Core.Tests.fsproj index a4cdd8c..8c14702 100644 --- a/NightLight.Core.Tests/NightLight.Core.Tests.fsproj +++ b/NightLight.Core.Tests/NightLight.Core.Tests.fsproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 true diff --git a/NightLight.Core/NightLight.Core.fsproj b/NightLight.Core/NightLight.Core.fsproj index 890f218..86bd628 100644 --- a/NightLight.Core/NightLight.Core.fsproj +++ b/NightLight.Core/NightLight.Core.fsproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 true diff --git a/NightLight/Dockerfile b/NightLight/Dockerfile index 64c6696..521c59e 100644 --- a/NightLight/Dockerfile +++ b/NightLight/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /app COPY NightLight.sln ./ COPY NightLight.Core/NightLight.Core.fsproj NightLight.Core/ @@ -7,7 +7,7 @@ RUN dotnet restore NightLight/NightLight.fsproj COPY . ./ RUN dotnet publish NightLight/NightLight.fsproj --no-restore -c Release -o out -FROM mcr.microsoft.com/dotnet/runtime:9.0 +FROM mcr.microsoft.com/dotnet/runtime:10.0 WORKDIR /app COPY --from=build /app/out . ENTRYPOINT ["dotnet", "NightLight.dll"] diff --git a/NightLight/NightLight.fsproj b/NightLight/NightLight.fsproj index 1fbc4af..5d3c852 100644 --- a/NightLight/NightLight.fsproj +++ b/NightLight/NightLight.fsproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 true diff --git a/default.nix b/default.nix index 3c945ed..6bb9149 100644 --- a/default.nix +++ b/default.nix @@ -1,7 +1,7 @@ { buildDotnetModule, - dotnet-sdk_9, - dotnet-runtime_9, + dotnet-sdk_10, + dotnet-runtime_10, }: buildDotnetModule rec { @@ -13,8 +13,8 @@ buildDotnetModule rec { projectFile = "NightLight/NightLight.fsproj"; nugetDeps = ./deps.json; - dotnet-sdk = dotnet-sdk_9; - dotnet-runtime = dotnet-runtime_9; + dotnet-sdk = dotnet-sdk_10; + dotnet-runtime = dotnet-runtime_10; executables = [ "NightLight" ]; }