File "/app/api.py", line 207, in <module>
app.mount("/admin", StaticFiles(directory="static/admin", html=True), name="admin")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/starlette/staticfiles.py", line 57, in __init__
raise RuntimeError(f"Directory '{directory}' does not exist")
RuntimeError: Directory 'static/admin' does not exist
I have looked into the container, and it does seem there is nothing under static
╰─> docker run -it --rm ghcr.io/toverainc/willow-application-server:main /bin/bash
root@a6369e58506e:/app# ls -al static/
total 8
drwxr-xr-x 2 root root 4096 Oct 26 17:58 .
drwxr-xr-x 1 root root 4096 Oct 26 17:59 ..
-rw-r--r-- 1 root root 0 Oct 26 17:58 .keep
I didn't have this problem before, but have recently started to see a startup failure on WAS container
image:
ghcr.io/toverainc/willow-application-server:main
error:
I have looked into the container, and it does seem there is nothing under static