-
Attempting to run the docker container on a macbook with an M1 chip gives the following warning:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
in your Dockerfile or
in your docker-compose |
Beta Was this translation helpful? Give feedback.
-
This should be resolved once #118 is merged - we're using flyingjoe/uvicorn-gunicorn-fastapi:python3.9 in the meantime since the amd64 version was too slow. |
Beta Was this translation helpful? Give feedback.
-
I opened #118, and in the meantime I've started publishing my own containers you can use. |
Beta Was this translation helpful? Give feedback.
-
Now that Uvicorn supports managing workers with Because of that, I deprecated this Docker image: https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker#-warning-you-probably-dont-need-this-docker-image And if you start from a base Python image you would get multi-arch by default. 😎 |
Beta Was this translation helpful? Give feedback.
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
And if you start from a base Python image you would get multi-arch by default. 😎