Closed qixxin closed 1 month ago
It seems the tests were breaking on this one. :thinking:
Also, now that Uvicorn supports managing workers with --workers
, including restarting dead ones, there's no need for Gunicorn. That also means that it's much simpler to build a Docker image from scratch now, I updated the docs to explain it.
Because of that, I deprecated this Docker image: https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker#-warning-you-probably-dont-need-this-docker-image
I'll now close this one, but thanks for the effort! :coffee:
Makes sense! I've switched to building my own image from scratch as well, thank you for the review!
… docker image.
A breaking change from pydantic this solves is converting models to dict or json. ".json() & .dict()" are now deprecated and use model_dump() and model_dump_json()