prepare for vercel

This commit is contained in:
Matteo Rosati
2026-01-20 10:14:40 +01:00
parent 5f74f6fa04
commit 657aa0c578
3 changed files with 37 additions and 0 deletions

1
.gitignore vendored
View File

@@ -11,3 +11,4 @@ wheels/
credentials.json
.env
.vercel

32
requirements.txt Normal file
View File

@@ -0,0 +1,32 @@
annotated-doc==0.0.4
annotated-types==0.7.0
anyio==4.12.1
certifi==2026.1.4
charset-normalizer==3.4.4
click==8.3.1
distro==1.9.0
fastapi==0.128.0
fastapi-sse==1.1.1
google-auth==2.47.0
google-genai==1.59.0
h11==0.16.0
httpcore==1.0.9
httpx==0.28.1
idna==3.11
jinja2==3.1.6
markupsafe==3.0.3
pyasn1==0.6.2
pyasn1-modules==0.4.2
pydantic==2.12.5
pydantic-core==2.41.5
python-dotenv==1.2.1
requests==2.32.5
rsa==4.9.1
sniffio==1.3.1
starlette==0.50.0
tenacity==9.1.2
typing-extensions==4.15.0
typing-inspection==0.4.2
urllib3==2.6.3
uvicorn==0.40.0
websockets==15.0.1

4
vercel.json Normal file
View File

@@ -0,0 +1,4 @@
{
"builds": [{ "src": "app.py", "use": "@vercel/python" }],
"routes": [{ "src": "/(.*)", "dest": "app.py" }]
}