fix: use python -m uvicorn for Render PATH compatibility

This commit is contained in:
2026-07-13 13:22:42 +05:30
parent 6d0f3237af
commit 63540297aa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ services:
name: contec-monitor-api
runtime: python
buildCommand: pip install -r requirements.txt
startCommand: uvicorn main:app --host 0.0.0.0 --port $PORT
startCommand: python -m uvicorn main:app --host 0.0.0.0 --port $PORT
envVars:
- key: PORT
value: 10000