Files
skill-seekers-reference/render.yaml
yusyus 7224a988bd 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
2025-11-30 17:27:19 +03:00

16 lines
394 B
YAML

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