/docker-compose-build

Reference material for https://medium.com/@zhao.li/how-to-understand-building-images-with-docker-compose-24cbdbc0641f

Primary LanguageDockerfile

docker-compose-build

Reference material for https://medium.com/@zhao.li/how-to-understand-building-images-with-docker-compose-24cbdbc0641f

Getting Started

  1. install docker
  2. install docker-compose
  3. clone repository: git clone --recursive https://github.com/zhao-lin-li/docker-compose-build.git
  4. 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