"""Bernard dashboard server entrypoint."""
import os
import uvicorn
from bernard.dashboard.api import app


def main() -> None:
    uvicorn.run(app, host="0.0.0.0", port=int(os.environ.get("PORT", 8080)))


if __name__ == "__main__":
    main()
