forked from sr2/cloud-api
feat: adds Containerfile with frontend serving
This commit is contained in:
parent
c28b4dc37b
commit
9e1d6026b5
5 changed files with 56 additions and 7 deletions
|
|
@ -77,3 +77,5 @@ if settings.DISABLE_AUTH and (settings.ENVIRONMENT == Environment.LOCAL):
|
|||
|
||||
|
||||
app.include_router(api_router)
|
||||
|
||||
app.frontend("/ui", directory="/app/static", fallback="index.html")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue