this project is prepared to demonstrate the use of dockerfile with .net6
first of all you need to download docker.you can google it. after that you should install this project to local
git clone https://github.com/omerselimgul/aspnetdockerfile.git
you must build this project with docker
docker image build -t <!imagetag> .
"<!imagetag>" : Write which tag you want to give
after that you can run with this command
docker run -i -p <!port>:5000 <!imagetag>
this project work with 5000 port so
"<!port>" : Write which port your computer wants to connect to container 5000 port
You can test it by sending a request to this url, as a result, it will return you instant time. http://localhost:<!port>/api/get
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.