Fuegovic commited on
Commit
7b478c2
1 Parent(s): d6d7e68

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -11
Dockerfile CHANGED
@@ -1,13 +1,11 @@
1
- FROM getmeili/meilisearch:v1.0
2
- EXPOSE 7860
3
- CMD ["meilisearch", "--http-addr", "0.0.0.0:7860"]
4
 
5
- # Set the environment variables
6
- ENV MEILI_HOST=0.0.0.0:7860
7
- ENV MEILI_HTTP_ADDR=0.0.0.0:7860
8
- ENV MEILI_MASTER_KEY=DrhYf7zENyR6AlUCKmnz0eYASOQdl6zxH7s7MKFSfFCt
9
- ENV MEILI_NO_ANALYTICS=true
10
- ENV MEILI_DB_PATH=/search
11
 
12
- RUN mkdir -p /search
13
- RUN chown -R meili:meili /search
 
 
 
 
1
+ # Use the official Ubuntu 18.04 image as a base
2
+ FROM ubuntu:18.04
 
3
 
4
+ # Update the system and install Redis
5
+ RUN apt-get update && apt-get install -y redis-server
 
 
 
 
6
 
7
+ # Expose the default Redis port
8
+ EXPOSE 6379
9
+
10
+ # Run the Redis server as the main process
11
+ CMD ["redis-server"]