meilisearch / Dockerfile
Fuegovic's picture
Create Dockerfile
66e8b88
raw
history blame
377 Bytes
# Use the official MeiliSearch image as a base
FROM getmeili/meilisearch:v1.0
# Set environment variables
ENV MEILI_HOST=http://meilisearch:7700
ENV MEILI_HTTP_ADDR=meilisearch:7700
ENV MEILI_NO_ANALYTICS=true
# Create and set the MeiliSearch data directory
RUN mkdir -p /meili_data
VOLUME ["/meili_data"]
# The base image already defines an ENTRYPOINT that runs MeiliSearch