Skip to content

apt-get update not working on specific version #327

Answered by tiangolo
minyoung90 asked this question in Questions
Discussion options

You must be logged in to vote

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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tiangolo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #246 on August 25, 2024 04:05.