Description
We'll create a Dockerfile in order to containerize a Django app and we''ll set up docker-compose through a docker-compose.yml file.
Summary
- January 4, 2021 4 min read1289 If you’ve been coding for a while now, you probably have heard of Docker or more fancy terms like containers.
- In order to make use of the features that Docker Compose provides us, create a docker-compose.yml file in the same root folder as your Dockerfile and add the following code in it: 3' This tells Docker what version of docker-compose should be used to run our file.
- If you want to shut down the container, open a new terminal and run docker-compose down.