We spent two days investigating with our DevOps team and eventually found out what was causing it. This breaking change https://learn.microsoft.com/en-us/dotnet/core/compatibility/containers/8.0/aspnet-port