nbroad commited on
Commit
4cbd7ed
·
verified ·
1 Parent(s): d25a307

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM getmeili/meilisearch:v1.10
2
+
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 /data
13
+ RUN chmod -R 777 /data
14
+ VOLUME ["/data"]
15
+