omerselimgul / aspnetdockerfile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DockerFile ASP.Net Project

this project is prepared to demonstrate the use of dockerfile with .net6

Installation

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

Usage

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

testing

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

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

License:MIT License


Languages

Language:C# 82.4%Language:Dockerfile 17.6%