So I have a basic django blog application. Which i want to dockerise into django. And one more thing. I am writing my question here because there are live people to answer.
CodePudding user response:
I think you should use a cookie cutter for dockerizing your Django application. Here you can read the docs https://cookiecutter-django.readthedocs.io/en/latest/deployment-with-docker.html you need to pip freeze first so that you could know what your current Django application taking up. And use them as requirements.txt Benefits of using Django on docker:
- Your code runs on any operating system that supports Docker.
- You save time by not needing to configure system dependencies on your host.
- Your local and production environments can be exactly the same,
eliminating errors that only happen in production.