BAI-29: add Docker deployment

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
GSC-CODEX
2026-08-07 09:43:34 +08:00
co-authored by multica-agent
parent 24d645b77c
commit cf082d04e4
9 changed files with 187 additions and 2 deletions
+3 -2
View File
@@ -106,9 +106,10 @@ class AppHandler(SimpleHTTPRequestHandler):
def main() -> None:
host = os.environ.get("APP_HOST", "127.0.0.1")
port = int(os.environ.get("APP_PORT", "4173"))
server = ThreadingHTTPServer(("127.0.0.1", port), AppHandler)
print(f"Serving on http://127.0.0.1:{port}")
server = ThreadingHTTPServer((host, port), AppHandler)
print(f"Serving on http://{host}:{port}")
server.serve_forever()