I am running .NET Core API on docker and it's working fine on my local machine as I create Azure devops pipelines it is not working on Azure app service showing error
No webpage was found for the web address: https://xyzapp.azurewebsites.net/swagger/index.html HTTP ERROR 404
When I build the image locally and push it to Azure app service using the same dockerfile it is then working fine.
Here are the error logs of api
08:45:46 WRN] Failed to determine the https port for redirect. [08:45:46 INF] HTTP GET / responded 404 in 162.0077 ms
Does anyone has idea what's wrong in it, locally build is running and by building Azure devops showing this error