Space stuck in "Building" despite gradio welcome port

I have private Docker-based Space with gradio. The image builds, but the space got stuck in “Building” stage, despite I see in the log:

Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.

Which should mean that the app is running, no? Link Did anyone have similar problems?

Hi @dmytromishkin I think setting ENV GRADIO_SERVER_NAME=0.0.0.0 will fix your problem.
If it doesn’t work, it might be helpful to take a look at Dockerfile of other working Docker-based Spaces using Gradio, like this one.

1 Like

Thank you, similar solution suggested here helped: Build docker space error "failed to unmount target /tmp/containerd-mountxxxxxx" - #5 by chris-rannou