File size: 304 Bytes
e75d7f2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from __future__ import annotations

import os

import uvicorn

from . import app


def main() -> None:
    """Run the FastAPI application using uvicorn."""
    uvicorn.run(app, host="0.0.0.0", port=int(os.getenv("PORT", "8000")))


if __name__ == "__main__":  # pragma: no cover - entry point
    main()