diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index e26d45c..70884b6 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - version: [6.0.x] + version: [7.0.x] runs-on: ${{ matrix.os }} diff --git a/TRENZ.Docs.API.Test/TRENZ.Docs.API.Test.csproj b/TRENZ.Docs.API.Test/TRENZ.Docs.API.Test.csproj index 5903778..2245caa 100644 --- a/TRENZ.Docs.API.Test/TRENZ.Docs.API.Test.csproj +++ b/TRENZ.Docs.API.Test/TRENZ.Docs.API.Test.csproj @@ -1,7 +1,7 @@ - net6.0 + net7.0 enable enable @@ -9,11 +9,13 @@ - - - - - + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive +all + diff --git a/TRENZ.Docs.API/Dockerfile b/TRENZ.Docs.API/Dockerfile index b531627..86672e6 100644 --- a/TRENZ.Docs.API/Dockerfile +++ b/TRENZ.Docs.API/Dockerfile @@ -1,11 +1,11 @@ #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src COPY ["TRENZ.Docs.API.csproj", "."] RUN dotnet restore "TRENZ.Docs.API.csproj" diff --git a/TRENZ.Docs.API/TRENZ.Docs.API.csproj b/TRENZ.Docs.API/TRENZ.Docs.API.csproj index 0f51e1d..c6b1611 100644 --- a/TRENZ.Docs.API/TRENZ.Docs.API.csproj +++ b/TRENZ.Docs.API/TRENZ.Docs.API.csproj @@ -1,7 +1,7 @@ - net6.0 + net7.0 enable enable Linux @@ -10,14 +10,14 @@ - - - - - - + + + + + + - +