| # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker | |
| # you will also find guides on how best to write your Dockerfile | |
| FROM docker.elastic.co/elasticsearch/elasticsearch:9.0.0 | |
| ENV discovery.type=single-node | |
| ENV xpack.security.enabled=false | |
| ENV ES_JAVA_OPTS="-Xms512m -Xmx512m" | |
| EXPOSE 9200 9300 | |
| HEALTHCHECK --interval=30s --timeout=30s --retries=3 \ | |
| CMD curl -f http://localhost:9200/_cluster/health || exit 1 | |