Custom Dockerfile
How can I add a custom Dockerfile and let know Huggingface Spaces that I want to use that Dockerfile instead of the one it uses as default?My repository isthis one, where you will find the Dockerfile and the Readme where the configuration of the SDK is (I tried removing this thinking that Spaces would then start using my Dockerfile, but it doesn’t, it gives a config error)Any help is welcome! Thank you in advance!
2022-12-03T00:37:45Z
hi@ugaray96we’re currently working to support Dockerfileit will come soon!I see you have you’re demo already running hereNeural Search Demo - a Hugging Face Space by ugaray96is there anything on our base streamlit sdk that doesn’t work for you?
2022-12-03T00:51:23Z
Hi@radames! Thanks for answering so quickly!My demo is perfectly running. All this comes because I want to be able to launch Elasticsearch inside the virtual machine (to enable certain search features)I’ve been trying to do so programatically in Python but is kind of hard.So I was wondering if I could just spin up an Elasticsearch instance using Docker
2022-12-03T01:03:23Z
Hi@ugaray96I see, in that case a Dockerfile would be much easier.  I’ll DM you here.
2022-12-11T07:47:40Z
Looking forward to the Dockerfile support!
2022-12-11T19:49:06Z
Hi@radamesthis space of yoursradames/stable-diffusion-depth2img at mainhas a custom Dockerfile. Does this mean it is supported now? Let me know if I missed something. Thank you!
2022-12-18T03:18:03Z
Hello@hugbumpand@ugaray96Spaces Docker now it’s official!twitter.comVictor M@victormustar🐳 Docker Support for HF Spaces is now available 🔥https://t.co/Vf1KtTluhD4:00 PM - 16 Dec 202217036huggingface.coDocker SpacesWe’re on a journey to advance and democratize artificial intelligence through open source and open science.
2022-12-19T13:00:19Z
Hi@radamesthose are awesome news!!!I’m trying now to get it working with Elasticsearch. Do you know if we can use docker-compose.yml?Thanks!
2022-12-19T14:43:18Z
Hi@ugaray96, we don’t have plans to support docker compose at the moment. But depending on your application, you can manually create multi Spaces.
2022-12-19T16:12:31Z
I’m trying to deploy an application that uses Elasticsearch internally for search, as a backend.I don’t know what multi Spaces are. Would it be deploying Elasticsearch in one Space and using it from another?
2022-12-19T16:28:50Z
ugaray96:Would it be deploying Elasticsearch in one Space and using it from another?exactly! Please let me know if that works
2022-12-19T17:29:40Z
This is cool! Thank you@radames!
2022-12-20T11:04:38Z
And how do I reference the other Space’s Elasticsearch url? Is it public by default or do the Spaces communicate in a smart way?