I created the default REST API in NET 5 using Visual Studio 2019.
I added Dockerfile like below
# https://hub.docker.com/_/microsoft-dotne