File size: 412 Bytes
8e52ba3
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
services:
  - type: web
    name: voice-detection-api
    env: python
    plan: free  # Change to 'starter' for always-on service
    buildCommand: pip install -r requirements.txt
    startCommand: python run.py --host 0.0.0.0 --port $PORT
    envVars:
      - key: PYTHON_VERSION
        value: 3.11.0
      - key: PORT
        generateValue: true  # Render will auto-assign
    healthCheckPath: /api/v1/health