Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use the official MeiliSearch image as a base
|
2 |
+
FROM getmeili/meilisearch:v1.0
|
3 |
+
|
4 |
+
# Set environment variables
|
5 |
+
ENV MEILI_HOST=http://meilisearch:7700
|
6 |
+
ENV MEILI_HTTP_ADDR=meilisearch:7700
|
7 |
+
ENV MEILI_NO_ANALYTICS=true
|
8 |
+
|
9 |
+
# Create and set the MeiliSearch data directory
|
10 |
+
RUN mkdir -p /meili_data
|
11 |
+
VOLUME ["/meili_data"]
|
12 |
+
|
13 |
+
# The base image already defines an ENTRYPOINT that runs MeiliSearch
|