Integrate task runner into python tools
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
"""Production entry point."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
||||
from waitress import serve
|
||||
|
||||
from .web import create_app
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
serve(
|
||||
create_app(),
|
||||
host=os.environ.get("SERVER_MAINTENANCE_HOST", "0.0.0.0"),
|
||||
port=int(os.environ.get("SERVER_MAINTENANCE_PORT", "8080")),
|
||||
)
|
||||
Reference in New Issue
Block a user