apt-get update not working on specific version #327
-
"tiangolo/uvicorn-gunicorn-fastapi:python3.9-slim-2023-05-22" version can do this command after "apt-get update",
but, "tiangolo/uvicorn-gunicorn-fastapi:python3.9-slim-2023-07-03" version can't that command with this errors
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can probably try with the non-slim version, also probably better with a more recent version. This is based on the official Python image, which is based on the official Debian image. So, you could try to install the package on a pure Debian image, and once you make it work, you can copy that here. Now, on the other hand... 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 |
Beta Was this translation helpful? Give feedback.
You can probably try with the non-slim version, also probably better with a more recent version. This is based on the official Python image, which is based on the official Debian image. So, you could try to install the package on a pure Debian image, and once you make it work, you can copy that here.
Now, on the other hand... 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-d…