Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
11 lines
282 B
Python
11 lines
282 B
Python
#!/usr/bin/env python3
|
|
from src.messenger.app import app
|
|
|
|
if __name__ == "__main__":
|
|
import os
|
|
import uvicorn
|
|
|
|
host = os.environ.get("APP_HOST", "0.0.0.0")
|
|
port = int(os.environ.get("APP_PORT", "8080"))
|
|
uvicorn.run("src.messenger.app:app", host=host, port=port)
|