Reference material for https://medium.com/@zhao.li/how-to-understand-building-images-with-docker-compose-24cbdbc0641f
- install docker
- install docker-compose
- clone repository:
git clone --recursive https://github.com/zhao-lin-li/docker-compose-build.git
- run
docker-compose build
to build the image
To stop the container, press CTRL-C
or issue docker-compose down
To build and run the container, issue docker-compose up
To see the results, browse to http://localhost:8081