Best way to use docker with Django. Containerize ?, or all in a container? [closed]

I've read some tutorials about docker and django :

  • some guys "containerize" an existing app already installed locally.
  • and others install Django in a docker-compose and a Dockerfile (using pip for example), with volumes indeed. So "nothing" is installed locally, all the app is in a container. Accessing directly the container.

Why is the best way ? Have you some relevant example ?

F.

Вернуться на верх