Files
skill-seekers-reference/render.yaml
yusyus b3791c94a2 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.
2025-11-30 17:07:32 +03:00

17 lines
397 B
YAML

services:
# Config API Service
- type: web
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
envVars:
- key: PYTHON_VERSION
value: 3.10
- key: PORT
generateValue: true
healthCheckPath: /health
autoDeploy: true