From b3791c94a2cb6968ec28afa0f02bed057dbd7ca1 Mon Sep 17 00:00:00 2001 From: yusyus Date: Sun, 30 Nov 2025 17:07:32 +0300 Subject: [PATCH] fix(render): Set rootDir to api directory for correct dependency installation Render was auto-detecting root requirements.txt instead of api/requirements.txt, causing FastAPI to not be installed. Setting rootDir: api fixes this. --- render.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/render.yaml b/render.yaml index 7138199..fe54a2c 100644 --- a/render.yaml +++ b/render.yaml @@ -4,8 +4,9 @@ services: name: skill-seekers-api runtime: python plan: free - buildCommand: pip install -r api/requirements.txt - startCommand: cd api && uvicorn main:app --host 0.0.0.0 --port $PORT + rootDir: api + buildCommand: pip install -r requirements.txt + startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT envVars: - key: PYTHON_VERSION value: 3.10