You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I deploy the gradio app with docker and mount a volume which path is included in allowed_paths, I got an error {"detail":"File not allowed:images/0.jpg}
When started locally, the path can be accessed normally.
Describe the bug
When I deploy the gradio app with docker and mount a volume which path is included in
allowed_paths
, I got an error{"detail":"File not allowed:images/0.jpg}
When started locally, the path can be accessed normally.
Have you searched existing issues? 🔎
Reproduction
Docker start command:
docker run -p 7860:7860 -v ~/project/root_path:/root_path --name project project:v2
When I accessed 'http://127.0.0.1:7860', I got an error
{"detail":"File not allowed:images/0.jpg}
Screenshot
No response
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: