diff --git a/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj b/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj
index 1014b79b6..33ec99bce 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/Dfe.Academies.Application/Dfe.Academies.Application.csproj b/Dfe.Academies.Application/Dfe.Academies.Application.csproj
index 69d808bf9..98238c1e7 100644
--- a/Dfe.Academies.Application/Dfe.Academies.Application.csproj
+++ b/Dfe.Academies.Application/Dfe.Academies.Application.csproj
@@ -8,8 +8,8 @@
-
-
+
+
diff --git a/Dockerfile b/Dockerfile
index a5a22cd4e..11b18f45e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build
+FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim AS build
WORKDIR /build
ENV DEBIAN_FRONTEND=noninteractive
@@ -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:7.0.18-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 bfa16d588..fb5cc59e1 100644
--- a/TramsDataApi.Test/TramsDataApi.Test.csproj
+++ b/TramsDataApi.Test/TramsDataApi.Test.csproj
@@ -18,13 +18,13 @@
-
-
+
+
-
+
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/TramsDataApi/TramsDataApi.csproj b/TramsDataApi/TramsDataApi.csproj
index 96add2719..892157b63 100644
--- a/TramsDataApi/TramsDataApi.csproj
+++ b/TramsDataApi/TramsDataApi.csproj
@@ -22,17 +22,17 @@
-
-
+
+
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+