I'm a beginner here, so I apologize if this is a silly question! I've been working on a Python project using Django, and now I want to dockerize it. Most tutorials out there seem to focus on either starting a new project or cloning an existing one. Is there any guide that explains how to dockerize an existing Django project? Just to clarify, I'm on macOS, using VSCode, and my Docker version is 4.4.0.
1 Answer
First off, 'cockerize' isn't the right term—make sure to stick with 'dockerize'! What you can do is take those examples that show how to create a Docker setup for a new Django project and adapt them for your existing one. That could be a great learning experience.
Yeah, it's a great way to learn! Also, make sure to check the Docker documentation for more details.