Skip to content

Commit

Permalink
[ksqlDB.RestApi.Client]: WorkerService upgraded to .NET 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfabian committed Nov 24, 2023
1 parent 470424f commit bd50a02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#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/runtime:6.0 AS base
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ["ksqldB.RestApi.Client.WorkerService/ksqldB.RestApi.Client.WorkerService.csproj", "ksqldB.RestApi.Client.WorkerService/"]
RUN dotnet restore "ksqldB.RestApi.Client.WorkerService/ksqldB.RestApi.Client.WorkerService.csproj"
Expand All @@ -17,4 +17,4 @@ RUN dotnet publish "ksqldB.RestApi.Client.WorkerService.csproj" -c Release -o /a
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "ksqldB.RestApi.Client.WorkerService.dll"]
ENTRYPOINT ["dotnet", "ksqldB.RestApi.Client.WorkerService.dll"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Worker">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>dotnet-ksqldB.RestApi.Client.WorkerService-C9138ED6-2AB5-44F3-A873-9FCD6EAA7B8E</UserSecretsId>
Expand Down

0 comments on commit bd50a02

Please sign in to comment.