Simple demo of ASP.NET Core and Docker using .NET Core 3.1 LTS.
In order to run this example, you'll need to have installed on your machine (Windows, Mac, Linux):
- Docker Desktop (or Docker on Linux)
- .NET Core SDK 3.1
The steps to run are:
- clone this tool:
git clone https://github.com/ashokitschool/asp_dotnet_docker_app
- cd into the folder:
cd asp_dotnet_docker_app
- Build a docker image:
docker build . -t webapp
- Run a container with:
docker run --rm -it -p 8080:80 -d webapp
- Open your browser and navigate to:
localhost:8080
And don't forget to visit www.ashokitech.com