Guru-25 commited on
Commit
5e44b4f
·
verified ·
1 Parent(s): 5755242

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official MeiliSearch image as a base
2
+ FROM getmeili/meilisearch:v1.9
3
+ # Set environment variables
4
+ #ENV MEILI_HOST=0.0.0.0:7700
5
+ ENV MEILI_HTTP_ADDR=0.0.0.0:7700
6
+ ENV MEILI_NO_ANALYTICS=true
7
+
8
+ # Expose the default MeiliSearch HTTP port to the host
9
+ EXPOSE 7700
10
+
11
+ # Create and set the MeiliSearch data directory
12
+ RUN mkdir -p /meili_data
13
+ RUN chmod -R 777 /meili_data
14
+ VOLUME ["/meili_data"]
15
+
16
+ # The base image already defines an ENTRYPOINT that runs MeiliSearch