I want to containerize Odoo on my server by building a custom Docker image directly from the GitHub repository instead of using the official Odoo Docker image. Has anyone done this before? I need guidance on:
- Best practices for creating a Dockerfile that clones and sets up Odoo from source.
- Handling dependencies (PostgreSQL, Python packages, etc.) properly.
- Managing custom addons and configurations in a self-built image.
- Any known issues or optimizations for production use.
If you’ve worked on similar projects or know good reference repos (like Doodba, odoocker, or others), please share your approach. Thanks!
Thank you so much for your guidance! I followed your instructions and was able to successfully deploy my custom Odoo Docker setup on my server. Really appreciate your help, it worked perfectly for me!