Skip to content

Commit a963c4f

Browse files
committed
Upgrade to .NET 8
1 parent 8f841f4 commit a963c4f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Apps.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<TypeScriptToolsVersion>latest</TypeScriptToolsVersion>
66
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
77
<RootNamespace>Apps</RootNamespace>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="ServiceStack" Version="6.*" />
11+
<PackageReference Include="ServiceStack" Version="8.*" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
22
WORKDIR /source
33

44
COPY . .
55
RUN dotnet restore Apps.csproj
66
RUN dotnet publish Apps.csproj -c release -o /app --no-restore
77

8-
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime
8+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
99
LABEL service="servicestack-apps"
1010
WORKDIR /app
1111
COPY --from=build /app ./

0 commit comments

Comments
 (0)