diff --git a/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj b/Dfe.Academies.Api.Infrastructure/Dfe.Academies.Infrastructure.csproj index a7cfc8198..9b98004ce 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 8c7ed8db3..fed02ad9a 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..dd71b73d5 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.14-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 cfd7e737b..75582c673 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 c29e8d156..9610a42de 100644 --- a/TramsDataApi/TramsDataApi.csproj +++ b/TramsDataApi/TramsDataApi.csproj @@ -10,17 +10,17 @@ - - + + - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - +