Run Elasticsearch in Spaces
I don’t know how to run an Elasticsearch instance inside Huggingface Spaces. I’ve tried using a custom Dockerfile but it gets ignored
2022-10-17T06:31:26Z
re. Dockerfile support cc@chris-rannou@XciD@cbensimonIn the short term you add dependencies to a requirements.txt file inside your repo
2022-10-17T08:34:00Z
Hi! Thanks for answeringYeah, I know we can use requirements.txt to add dependencies, but what about launching elasticsearch inside the Space virtual machine?I’m thinking about doing it programatically in Python, somehow
2022-10-17T11:13:44Z
Ooops sorry I meantpackages.txt(which gets installed with apt install) and notrequirements.txt(thanks@mervefor the heads up)
2022-10-23T16:40:27Z
Hi@julien-cI still don’t think you can launch Elasticsearch by installing linux related packages usingpackages.txt, can you? You would need something that launches it, like a script