Spaces:
Sleeping
Sleeping
Download Dockerfile from Hans-R-D/meilisearch: direct link, hf CLI and curl.
- Browser
- Download file 459 Bytes
-
https://huggingface.co/spaces/Hans-R-D/meilisearch/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Hans-R-D/meilisearch/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Hans-R-D/meilisearch/resolve/main/Dockerfile
459 Bytes
| # Use the official MeiliSearch image as a base | |
| FROM getmeili/meilisearch:v1.9 | |
| # Set environment variables | |
| #ENV MEILI_HOST=0.0.0.0:7700 | |
| ENV MEILI_HTTP_ADDR=0.0.0.0:7700 | |
| ENV MEILI_NO_ANALYTICS=true | |
| # Expose the default MeiliSearch HTTP port to the host | |
| EXPOSE 7700 | |
| # Create and set the MeiliSearch data directory | |
| RUN mkdir -p /meili_data | |
| RUN chmod -R 777 /meili_data | |
| VOLUME ["/meili_data"] | |
| # The base image already defines an ENTRYPOINT that runs MeiliSearch |