diff --git a/server/Dockerfile b/server/Dockerfile index 01c08e35d..603f25663 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:8.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 WORKDIR /App COPY csharp-server/src/nhsnotifysupplierserver/bin/Release/net8.0 . diff --git a/server/Dockerfile.latest b/server/Dockerfile.latest index e815a6ab0..9fb2b8a6c 100644 --- a/server/Dockerfile.latest +++ b/server/Dockerfile.latest @@ -1,6 +1,6 @@ # Gets from the latest pre release -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build RUN apt-get update && \ apt-get install -y \ jq \ @@ -20,7 +20,7 @@ RUN releases=$(curl https://api.github.com/repos/NHSDigital/nhs-notify-supplier- dotnet build --configuration Release && \ ls -la bin/Release/net8.0 -FROM mcr.microsoft.com/dotnet/aspnet:8.0 +FROM mcr.microsoft.com/dotnet/aspnet:10.0 WORKDIR /App COPY --from=build /src/nhsnotifysupplierserver/bin/Release/net8.0 .