diff --git a/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj b/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj
index 1014b79b6..c8758971a 100644
--- a/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj
+++ b/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj
@@ -9,12 +9,12 @@
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
diff --git a/Dockerfile b/Dockerfile
index a5a22cd4e..d02218532 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -23,7 +23,7 @@ RUN dotnet build -c Release TramsDataApi.sln --no-restore
RUN dotnet publish TramsDataApi -c Release -o /app --no-restore
ARG ASPNET_IMAGE_TAG
-FROM mcr.microsoft.com/dotnet/aspnet:6.0.9-bullseye-slim AS final
+FROM mcr.microsoft.com/dotnet/aspnet:6.0.31-bullseye-slim AS final
RUN apt-get update
RUN apt-get install unixodbc curl gnupg -y
diff --git a/TramsDataApi.Test/TramsDataApi.Test.csproj b/TramsDataApi.Test/TramsDataApi.Test.csproj
index 2a8210a85..ad517e061 100644
--- a/TramsDataApi.Test/TramsDataApi.Test.csproj
+++ b/TramsDataApi.Test/TramsDataApi.Test.csproj
@@ -18,7 +18,7 @@
-
+
diff --git a/TramsDataApi/TramsDataApi.csproj b/TramsDataApi/TramsDataApi.csproj
index 96add2719..2798920ea 100644
--- a/TramsDataApi/TramsDataApi.csproj
+++ b/TramsDataApi/TramsDataApi.csproj
@@ -22,17 +22,17 @@
-
-
+
+
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+