diff --git a/Samples/ksqldB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService/Dockerfile b/Samples/ksqldB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService/Dockerfile index d4fecb1a..789e826a 100644 --- a/Samples/ksqldB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService/Dockerfile +++ b/Samples/ksqldB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService/Dockerfile @@ -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" @@ -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"] \ No newline at end of file +ENTRYPOINT ["dotnet", "ksqldB.RestApi.Client.WorkerService.dll"] diff --git a/Samples/ksqldB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService.csproj b/Samples/ksqldB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService.csproj index d16b2075..977f9709 100644 --- a/Samples/ksqldB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService.csproj +++ b/Samples/ksqldB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService/ksqlDB.RestApi.Client.WorkerService.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable dotnet-ksqldB.RestApi.Client.WorkerService-C9138ED6-2AB5-44F3-A873-9FCD6EAA7B8E