docker probleme

This commit is contained in:
chk
2026-06-08 21:15:15 +02:00
parent 4358857cf2
commit 094ae5ce68
29 changed files with 4691 additions and 29 deletions

View File

@@ -0,0 +1,12 @@
"""scripts.api — FastAPI REST-Service."""
from .server import create_app
def start_server(
robot_json=None,
host: str = "0.0.0.0",
port: int = 8446,
) -> None:
import uvicorn
app = create_app(robot_json=robot_json)
uvicorn.run(app, host=host, port=port)