🐳 Dockerize FastAPI & Ploomber🚀
Learn to containerize FastAPI apps:
⚡ DuckDB: Fast, in-memory SQL database.
⚡ Structure: ETL, app, & tests.
⚡ Dockerfile:
✅ RUN vs CMD.
✅ Python base.
✅ Poetry for dependencies.
✅ Ploomber for data prep.
✅ Expose port 8000.
✅ Launch with Uvicorn.
Dive in: https://ploomber-sql.readthedocs.io/en/latest/mini-projects/recommendation-system/packaging-with-docker.html
Give JupySQL a star: https://github.com/ploomber/jupysql