An example of a dotNet Core Website, API and Library.
docker run -it -v `pwd`:/sln --workdir /sln microsoft/aspnetcore-build sh build.sh
# Build container
cd Web
docker build -t core-container .
# Run final container, mapping 8080 on the local machine to 80 on the container.
docker run -p 8080:80 --rm -it core-container