diff --git a/Directory.Build.props b/Directory.Build.props index 32bb31bb..c4e17808 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,13 +1,13 @@ - 10 - net6.0 + 11 + net7.0 Łukasz Kurzyniec Copyright © happy+code Łukasz Kurzyniec 2022 - 1.2.1 + 1.3.0 diff --git a/Directory.Packages.props b/Directory.Packages.props index e7abaf1f..cd38c124 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,7 +3,6 @@ true false - @@ -14,19 +13,16 @@ - - - @@ -36,21 +32,20 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - all @@ -58,9 +53,9 @@ - + all runtime; build; native; contentfiles; analyzers - + \ No newline at end of file diff --git a/README.md b/README.md index 3cb29c5a..fc9d094b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # netcore-boilerplate -Boilerplate of API in ~~`.NET Core 3.1`~~ `.NET 6` +Boilerplate of API in ~~`.NET Core 3.1`~~ `.NET 7` | GitHub | Codecov | |:-------------:|:-------------:| diff --git a/dockerfile b/dockerfile index 726a80da..f031e92b 100644 --- a/dockerfile +++ b/dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /work COPY ./Directory.Build.props ./ @@ -25,7 +25,7 @@ RUN dotnet publish -c Release -o /app --no-restore LABEL maintainer="Lukasz Kurzyniec (lkurzyniec@gmail.com)" -FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS final +FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS final WORKDIR /app COPY --from=publish /app .