run_prod.py

This commit is contained in:
Hamza committed 2026-06-03 11:07:23 +02:00
1 parent 83f80ab935
commit 85422a5bba
13 files changed
+50 -23

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
"""
pip install hypercorn
"""
import asyncio
from hypercorn.config import Config
from hypercorn.asyncio import serve
from api_server import app
config = Config()
config.bind = ["0.0.0.0:2000"]
asyncio.run(serve(app, config))