docker You must install or update .NET to run this application. 问题解决方案
FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base
WORKDIR /app
修改为
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app
FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base
WORKDIR /app
修改为
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app