diff --git a/Dockerfile b/Dockerfile index a5a22cd4e..32a36085a 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.11-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 ea46281e0..62539c240 100644 --- a/TramsDataApi.Test/TramsDataApi.Test.csproj +++ b/TramsDataApi.Test/TramsDataApi.Test.csproj @@ -17,7 +17,7 @@ - + diff --git a/TramsDataApi/TramsDataApi.csproj b/TramsDataApi/TramsDataApi.csproj index 5eac53670..f92704011 100644 --- a/TramsDataApi/TramsDataApi.csproj +++ b/TramsDataApi/TramsDataApi.csproj @@ -8,17 +8,17 @@ - - + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - +