File size: 487 Bytes
5e44b4f
09b4006
5e44b4f
 
 
 
09b4006
5e44b4f
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Use the official MeiliSearch image as a base
FROM getmeili/meilisearch:v1.12.3
# 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
ENV MEILI_ENV=production

# 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