Skip to content

Commit

Permalink
Update to .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
mchaloupka committed Dec 3, 2023
1 parent 381a7d0 commit 2b8c5d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Slp.Evi.Endpoint/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: Build image
FROM mcr.microsoft.com/dotnet/sdk:7.0 as build
FROM mcr.microsoft.com/dotnet/sdk:8.0 as build
WORKDIR /app

# caches restore result by copying csproj file separately
Expand All @@ -11,7 +11,7 @@ COPY . .
RUN dotnet publish --output /out/ --configuration Release

# Stage 2: Runtime image
FROM mcr.microsoft.com/dotnet/aspnet:7.0
FROM mcr.microsoft.com/dotnet/aspnet:8.0
WORKDIR /app
COPY --from=build /out .
ENTRYPOINT [ "dotnet", "Slp.Evi.Endpoint.dll" ]
2 changes: 1 addition & 1 deletion src/Slp.Evi.Endpoint/Slp.Evi.Endpoint.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 2b8c5d3

Please sign in to comment.