dotnetapp-testandbuild Sample
Uses the dotnet/dotnet-docker-samples repo code example with the dotnet-bot console application. Restructured for testing. Based on Building optimized Docker images with ASP.NET Core.
OSX / Linux
- Run
sh buildandpublish.sh
- runs
docker-compose up
to build and test the console application within the container. - runs
docker build -t spboyer/dotnetbot:production .
to create the final production image
- runs
- Run application
docker run spboyer/dotnetbot:production
Windows (TODO)
- Notes