Comments (3)
I think no one may have responded because your question is not clear.
Are you really asking why python3.8-slim
does not have FastAPI on it? FastAPI is a specific web framework. While it is a great framework, I would suspect that (a) 99.9% of Python projects do not use it, and (b) it is quite large. It is not something that the 99.9% of other projects would want bulking up their work.
Or, do you mean to ask, "why is there no 'slim' version of fastapi"? My guess is that no one has had the time or energy to create it. I suspect if you put together a good Dockerfile to do this, it would be accepted into the project.
from uvicorn-gunicorn-fastapi-docker.
Just like 99.9% of python projects don't use FastAPI, so are uvicorn and gunicorn, which are installed in the image. So, my question was to ask about the absence of FastAPI, when it's dependencies are installed in the image.
EDIT: Or should I be asking about the presence of uvicorn and gunicorn, when 99.9% of projects don't actually use them.
from uvicorn-gunicorn-fastapi-docker.
I assume you solved it, thanks for closing the issue 👍
Anyway, I checked, and FastAPI seems to be included as expected 🤷
$ docker run --rm -it tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim pip3 freeze
Unable to find image 'tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim' locally
python3.8-slim: Pulling from tiangolo/uvicorn-gunicorn-fastapi
54fec2fa59d0: Pull complete
cd3f35d84cab: Pull complete
a0afc8e92ef0: Pull complete
9691f23efdb7: Pull complete
9fd98872783d: Pull complete
87f9e3d4e596: Pull complete
a815d3c0e7f7: Pull complete
4c9600199185: Pull complete
ad63dfa2975a: Pull complete
a0df076a6f63: Pull complete
53e0503c66c0: Pull complete
5107cbf6f48a: Pull complete
287285a75ba3: Pull complete
5aae5624408d: Pull complete
Digest: sha256:edb2e3ecbb922c199ce23ca8b4dc60bdf65a7829bc2b6bd3767392566f437e04
Status: Downloaded newer image for tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim
click==7.1.1
fastapi==0.62.0
gunicorn==20.0.4
h11==0.9.0
httptools==0.1.1
pydantic==1.7.3
starlette==0.13.6
uvicorn==0.11.3
uvloop==0.14.0
websockets==8.1
from uvicorn-gunicorn-fastapi-docker.
Related Issues (20)
- Application does not start up when combining this image and a database connection in Linux CentOS. HOT 4
- Upgrade from python3.8 to python3.11 fails HOT 1
- ModuleNotFoundError: No module named 'app' HOT 2
- APScheduler logs not showing in docker HOT 1
- websocket can not use
- Deploying HuggingFace model/pipeline using uvicorn-gunicorn-fastapi-docker on Google Cloud Run HOT 2
- Is --proxy-headers applied in the uvicorn CMD in the image? HOT 1
- getting timeout 504 in 1 minute
- Support for Apple sillicon
- New docker-image may be broken HOT 1
- apt-get update not working on specific version
- container build fails with pydantic-settings HOT 1
- Uvicorn -gunicorn-fastapi-docker
- Runtime Error: Can't start new thread HOT 2
- linux/arm64/v8 not supported HOT 2
- Unexpected Redirection of `/docs` Endpoint with Custom `APP_MODULE` Setup
- Current gunicorn version does not support Python 3.11 HOT 1
- Base Dockerfile HOT 3
- pydantic_settings package not supported
- Update fastapi to support Pydantic2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uvicorn-gunicorn-fastapi-docker.