Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -9,10 +9,10 @@ ENV HOST=0.0.0.0
|
|
9 |
ENV PORT=7860
|
10 |
ENV SESSION_EXPIRY=900000
|
11 |
ENV REFRESH_TOKEN_EXPIRY=604800000
|
12 |
-
ENV SEARCH=
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
# Create necessary directories
|
17 |
RUN mkdir -p /app/uploads/temp
|
18 |
RUN mkdir -p /app/client/public/images/temp
|
@@ -29,8 +29,8 @@ RUN chmod -R 777 /app/data
|
|
29 |
# Copy Custom Endpoints Config
|
30 |
user root
|
31 |
RUN apk add curl
|
32 |
-
RUN --mount=type=secret,id=
|
33 |
-
curl -o /app/librechat.yaml $(cat /run/secrets/
|
34 |
RUN chmod 777 /app/librechat.yaml
|
35 |
user node
|
36 |
# Install dependencies
|
|
|
9 |
ENV PORT=7860
|
10 |
ENV SESSION_EXPIRY=900000
|
11 |
ENV REFRESH_TOKEN_EXPIRY=604800000
|
12 |
+
ENV SEARCH=true
|
13 |
+
ENV MEILI_NO_ANALYTICS=true
|
14 |
+
ENV MEILI_HOST=https://librechat-meilisearch.hf.space
|
15 |
+
ENV CONFIG_PATH=/app/librechat.yaml
|
16 |
# Create necessary directories
|
17 |
RUN mkdir -p /app/uploads/temp
|
18 |
RUN mkdir -p /app/client/public/images/temp
|
|
|
29 |
# Copy Custom Endpoints Config
|
30 |
user root
|
31 |
RUN apk add curl
|
32 |
+
RUN --mount=type=secret,id=CONFIG_URL,mode=0444,required=true \
|
33 |
+
curl -o /app/librechat.yaml $(cat /run/secrets/CONFIG_URL)
|
34 |
RUN chmod 777 /app/librechat.yaml
|
35 |
user node
|
36 |
# Install dependencies
|