Skip to content

Commit ec397d3

Browse files
committed
fix: add requirements.txt and pin Python 3.12 for Render
1 parent 2b37b10 commit ec397d3

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

apps/api/.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12.0

apps/api/render.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
- type: web
33
name: codepulse-api
44
runtime: python
5-
buildCommand: pip install -e .
5+
buildCommand: pip install -r requirements.txt
66
startCommand: uvicorn app.main:app --host 0.0.0.0 --port $PORT
77
healthCheckPath: /api/health
88
envVars:

apps/api/requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
fastapi>=0.115.0
2+
uvicorn[standard]>=0.30.0
3+
pydantic>=2.8.0
4+
pydantic-settings>=2.4.0
5+
numpy>=2.0.0
6+
httpx>=0.27.0
7+
python-dotenv>=1.0.0

0 commit comments

Comments
 (0)