Fix Dockerfile-worker-api-dev - Use ASP.NET Core runtime for SignalR dependency
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user