fix: entrypoint workdir and static path

This commit is contained in:
2026-10-16 14:16:49 +00:00
parent 04749ed895
commit 8c25a1dbe1
2 changed files with 6 additions and 6 deletions
+3 -2
View File
@@ -342,8 +342,9 @@ def api_check(model_id: str):
@app.get("/", response_class=HTMLResponse)
def index():
with open("/app/static/index.html") as f:
with open("/app/app/static/index.html") as f:
return f.read()
app.mount("/static", StaticFiles(directory="/app/static"), name="static")
app.mount("/static", StaticFiles(directory="/app/app/static"), name="static")