pyproject.toml and compiled to requirements.txt.
Adding a Package
- Add to
pyproject.toml - Regenerate
requirements.txt - Rebuild images
Update pyproject.toml
Add packages to thedependencies array:
pyproject.toml
Generate requirements.txt
Rebuild Images
Development
Production
Verify Locally First
Before rebuilding production, test locally:If Something Breaks
Roll back by revertingrequirements.txt: