Fix HTTP deployment flow and redesign bindings workspace

This commit is contained in:
2026-03-04 13:59:38 +08:00
parent 380a78283e
commit f212b68c2c
8 changed files with 578 additions and 275 deletions

16
main.py
View File

@@ -1,5 +1,17 @@
def main():
print("Hello from sentinel!")
from __future__ import annotations
import os
import uvicorn
def main() -> None:
uvicorn.run(
"app.main:app",
host="0.0.0.0",
port=int(os.getenv("APP_PORT", "7000")),
reload=False,
)
if __name__ == "__main__":