title: docker- The framework 'Microsoft.AspNetCore.App', version '5.0.0' was not found. - No frameworks were found
body: <p>I have created a sample .NETCORE web API, and I'm trying to deploy to docker, I get below errors, could some one help on how to resolve this.
  Below screenshot of docker file and error from Visual Studio code
  docker file
  docker file content<a href="https://i.stack.imgur.com/tQf9q.png" rel="nofollow noreferrer">1</a></p>
  <p>List of asp.net core runtimes Installed in my local machine</p>
  <p><img src="https://i.stack.imgur.com/QyzJB.png" alt="[1]: https://i.stack.imgur.com/vAWWU.png" /></p>