From 657aa0c578949979c901f2a22448769adc61e3dc Mon Sep 17 00:00:00 2001 From: Matteo Rosati Date: Tue, 20 Jan 2026 10:14:40 +0100 Subject: [PATCH] prepare for vercel --- .gitignore | 1 + requirements.txt | 32 ++++++++++++++++++++++++++++++++ vercel.json | 4 ++++ 3 files changed, 37 insertions(+) create mode 100644 requirements.txt create mode 100644 vercel.json diff --git a/.gitignore b/.gitignore index 575e524..41354b1 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ wheels/ credentials.json .env +.vercel diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..770f2a7 --- /dev/null +++ b/requirements.txt @@ -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 diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..ff797e0 --- /dev/null +++ b/vercel.json @@ -0,0 +1,4 @@ +{ + "builds": [{ "src": "app.py", "use": "@vercel/python" }], + "routes": [{ "src": "/(.*)", "dest": "app.py" }] +}