From f3b1d93db315a8be2ba7bbdcefbf2c81ef3f8494 Mon Sep 17 00:00:00 2001 From: cryptooda Date: Sun, 9 Nov 2025 05:13:28 +0700 Subject: [PATCH] Fix Dockerfile-worker-api-dev - Use ASP.NET Core runtime for SignalR dependency --- src/Dockerfile-worker-api-dev | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Dockerfile-worker-api-dev b/src/Dockerfile-worker-api-dev index 9e48e69b..5475e914 100644 --- a/src/Dockerfile-worker-api-dev +++ b/src/Dockerfile-worker-api-dev @@ -1,5 +1,6 @@ -# Use the official Microsoft .NET runtime as the base image (for worker service, not API) -FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base +# Use the official Microsoft ASP.NET Core runtime as the base image +# Required because Microsoft.AspNetCore.SignalR.Core dependency needs ASP.NET Core runtime +FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app # Use the official Microsoft .NET SDK image to build the code.