From 7224a988bd23bb91541d0c5603040444ec0c8713 Mon Sep 17 00:00:00 2001 From: yusyus Date: Sun, 30 Nov 2025 17:27:19 +0300 Subject: [PATCH] fix(render): Use explicit paths for api/requirements.txt - Remove rootDir (Render may auto-detect root requirements.txt first) - Explicitly use 'pip install -r api/requirements.txt' in buildCommand - Explicitly use 'cd api &&' in startCommand - This ensures FastAPI dependencies are installed from api/requirements.txt --- render.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/render.yaml b/render.yaml index fe54a2c..7138199 100644 --- a/render.yaml +++ b/render.yaml @@ -4,9 +4,8 @@ services: name: skill-seekers-api runtime: python plan: free - rootDir: api - buildCommand: pip install -r requirements.txt - startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT + buildCommand: pip install -r api/requirements.txt + startCommand: cd api && uvicorn main:app --host 0.0.0.0 --port $PORT envVars: - key: PYTHON_VERSION value: 3.10