Update Dockerfile
Browse files- Dockerfile +6 -7
Dockerfile
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
# Pull the base image
|
2 |
FROM ghcr.io/danny-avila/librechat-dev:latest
|
3 |
|
4 |
-
# FROM ghcr.io/danny-avila/librechat-dev:0a1d38e3189a4f905d021be41ac2c8b5bd03d8b7
|
5 |
-
|
6 |
|
7 |
# Set environment variables
|
8 |
ENV HOST=0.0.0.0
|
@@ -10,8 +8,8 @@ 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 |
|
16 |
# Create necessary directories
|
17 |
RUN mkdir -p /app/uploads/temp
|
@@ -26,11 +24,12 @@ RUN chmod -R 777 /app/api/logs/
|
|
26 |
RUN chmod -R 777 /app/data
|
27 |
|
28 |
# 安装 curl
|
29 |
-
USER root
|
30 |
-
RUN apk add --no-cache curl
|
31 |
|
32 |
# Copy Custom Endpoints Config
|
33 |
-
|
|
|
34 |
# COPY librechat.yaml /app/librechat.yaml # Uncomment this and comment out the previous line to use the local librechat.yaml
|
35 |
# RUN CONFIG_PATH="/alternative/path/to/librechat.yaml"
|
36 |
|
|
|
1 |
# Pull the base image
|
2 |
FROM ghcr.io/danny-avila/librechat-dev:latest
|
3 |
|
|
|
|
|
4 |
|
5 |
# Set environment variables
|
6 |
ENV HOST=0.0.0.0
|
|
|
8 |
ENV SESSION_EXPIRY=900000
|
9 |
ENV REFRESH_TOKEN_EXPIRY=604800000
|
10 |
ENV SEARCH=true
|
11 |
+
# ENV MEILI_NO_ANALYTICS=true
|
12 |
+
# ENV MEILI_HOST=https://librechat-meilisearch.hf.space
|
13 |
|
14 |
# Create necessary directories
|
15 |
RUN mkdir -p /app/uploads/temp
|
|
|
24 |
RUN chmod -R 777 /app/data
|
25 |
|
26 |
# 安装 curl
|
27 |
+
# USER root
|
28 |
+
# RUN apk add --no-cache curl
|
29 |
|
30 |
# Copy Custom Endpoints Config
|
31 |
+
COPY librechat.yaml /app/librechat.yaml
|
32 |
+
# RUN curl -o /app/librechat.yaml https://huggingface.co/spaces/tang-x/LibreChat/raw/main/librechat.yaml
|
33 |
# COPY librechat.yaml /app/librechat.yaml # Uncomment this and comment out the previous line to use the local librechat.yaml
|
34 |
# RUN CONFIG_PATH="/alternative/path/to/librechat.yaml"
|
35 |
|