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:

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= 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