Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
@@ -16,18 +16,21 @@ ENV REFRESH_TOKEN_EXPIRY=604800000
|
|
16 |
# ENV MEILI_HTTP_ADDR=https://librechat-meilisearch.hf.space
|
17 |
|
18 |
# Create necessary directories
|
|
|
19 |
RUN mkdir -p /app/client/public/images/temp
|
20 |
RUN mkdir -p /app/api/logs/
|
21 |
RUN mkdir -p /app/data
|
22 |
|
23 |
-
# Copy Custom Endpoints Config
|
24 |
-
COPY librechat.yaml /app/librechat.yaml
|
25 |
-
|
26 |
# Give write permission to the directory
|
|
|
27 |
RUN chmod -R 777 /app/client/public/images
|
28 |
RUN chmod -R 777 /app/api/logs/
|
29 |
RUN chmod -R 777 /app/data
|
30 |
|
|
|
|
|
|
|
|
|
31 |
# Install dependencies
|
32 |
RUN cd /app/api && npm install
|
33 |
|
|
|
16 |
# ENV MEILI_HTTP_ADDR=https://librechat-meilisearch.hf.space
|
17 |
|
18 |
# Create necessary directories
|
19 |
+
RUN mkdir -p /app/uploads/temp
|
20 |
RUN mkdir -p /app/client/public/images/temp
|
21 |
RUN mkdir -p /app/api/logs/
|
22 |
RUN mkdir -p /app/data
|
23 |
|
|
|
|
|
|
|
24 |
# Give write permission to the directory
|
25 |
+
RUN chmod -R 777 /app/uploads/temp
|
26 |
RUN chmod -R 777 /app/client/public/images
|
27 |
RUN chmod -R 777 /app/api/logs/
|
28 |
RUN chmod -R 777 /app/data
|
29 |
|
30 |
+
# Copy Custom Endpoints Config
|
31 |
+
RUN curl -o /app/librechat.yaml https://raw.githubusercontent.com/fuegovic/lc-config-yaml/main/librechat.yaml
|
32 |
+
# COPY librechat.yaml /app/librechat.yaml # Uncomment this and comment out the previous line to use the local librechat.yaml
|
33 |
+
|
34 |
# Install dependencies
|
35 |
RUN cd /app/api && npm install
|
36 |
|