Skip to content

Commit 32bd6aa

Browse files
committed
build(ohunt): upgrade dotnet in csproj and dockerfile
1 parent b977719 commit 32bd6aa

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ohunt/OHunt.Tests/OHunt.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<Nullable>enable</Nullable>
77

ohunt/OHunt.Web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /app
55
EXPOSE 80
66
EXPOSE 443
77

8-
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
8+
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
99
WORKDIR /src
1010
COPY ["OHunt.Web/OHunt.Web.csproj", "OHunt.Web/"]
1111
RUN dotnet restore "OHunt.Web/OHunt.Web.csproj"

ohunt/OHunt.Web/OHunt.Web.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
</PropertyGroup>
77

ohunt/dev.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:6.0
1+
FROM mcr.microsoft.com/dotnet/sdk:7.0
22

33
WORKDIR /src
44

0 commit comments

Comments
 (0)