Comments (9)
@tiangolo Can you trigger a new build please?
from uvicorn-gunicorn-fastapi-docker.
I noticed the same problem.
Currently fastapi version in images is: 0.55.1 what is very confusing when goes on working with root_path feature: https://fastapi.tiangolo.com/advanced/behind-a-proxy/ as it's supported since 0.56.0!!! I lost a day due to that fact :(
from uvicorn-gunicorn-fastapi-docker.
the discussion was about new runs of the image builds, not Python versions.
Yup, egg on my face. Was distracted as to the subject mater I guess. Cheers.
from uvicorn-gunicorn-fastapi-docker.
In the meantime, you can use this:
FROM tiangolo/uvicorn-gunicorn:python3.8
RUN PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1 \
pip install fastapi
# ...
COPY ./app /app
It is inspired by the original Dockerfile. Of course, it only works for uvicorn-gunicorn
tags which are supported (particularly, it doesn't currently work for python 3.9 or for any python version with alpine higher than 3.10).
from uvicorn-gunicorn-fastapi-docker.
Starlette samesite
keyword argument on set_cookie
is also missing due to outdated images. 🙇♂️
from uvicorn-gunicorn-fastapi-docker.
Thanks for the discussion here everyone! I think this was triggered/handled a while ago, right?
Sorry for the long delay! 🙈 I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.
from uvicorn-gunicorn-fastapi-docker.
Thanks for the discussion here everyone! I think this was triggered/handled a while ago, right?
Sorry for the long delay! 🙈 I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.
@tiangolo, is this an automated reply?
Don't think so. Appears that the Python3.9 release is still the latest image available, from over a year ago, but I'm no longer relying on this image, in favor of my own. I see there are recent commits to uvicorn-gunicorn repo however, including a 3.10 branch.
from uvicorn-gunicorn-fastapi-docker.
No, it's not an automated reply, the discussion was about new runs of the image builds, not Python versions.
And yep, indeed, you should probably rely on your own image, you probably don't need this one as explained in the README: https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker#-warning-you-probably-dont-need-this-docker-image
I'm glad you found a solution for your use cases. 👍
from uvicorn-gunicorn-fastapi-docker.
Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.
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 1
- 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
- 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.