Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -14,15 +14,17 @@ ENV MEILI_HOST=https://librechat-meilisearch.hf.space
|
|
| 14 |
RUN mkdir -p /app/uploads/temp
|
| 15 |
RUN mkdir -p /app/client/public/images/temp
|
| 16 |
RUN mkdir -p /app/api/logs/
|
|
|
|
| 17 |
RUN mkdir -p /app/data
|
| 18 |
|
| 19 |
# Give write permission to the directory
|
| 20 |
RUN chmod -R 777 /app/uploads/temp
|
| 21 |
RUN chmod -R 777 /app/client/public/images
|
| 22 |
RUN chmod -R 777 /app/api/logs/
|
|
|
|
| 23 |
RUN chmod -R 777 /app/data
|
| 24 |
|
| 25 |
-
COPY auth.json /api/data/auth.json
|
| 26 |
# Copy Custom Endpoints Config
|
| 27 |
RUN curl -o /app/librechat.yaml https://raw.githubusercontent.com/eggacheb/lc-config-yaml/main/librechat-rw.yaml
|
| 28 |
#COPY librechat.yaml ./librechat.yaml # Uncomment
|
|
|
|
| 14 |
RUN mkdir -p /app/uploads/temp
|
| 15 |
RUN mkdir -p /app/client/public/images/temp
|
| 16 |
RUN mkdir -p /app/api/logs/
|
| 17 |
+
RUN mkdir -p /app/api/data/
|
| 18 |
RUN mkdir -p /app/data
|
| 19 |
|
| 20 |
# Give write permission to the directory
|
| 21 |
RUN chmod -R 777 /app/uploads/temp
|
| 22 |
RUN chmod -R 777 /app/client/public/images
|
| 23 |
RUN chmod -R 777 /app/api/logs/
|
| 24 |
+
RUN chmod -R 777 /app/api/data/
|
| 25 |
RUN chmod -R 777 /app/data
|
| 26 |
|
| 27 |
+
COPY auth.json /app/api/data/auth.json
|
| 28 |
# Copy Custom Endpoints Config
|
| 29 |
RUN curl -o /app/librechat.yaml https://raw.githubusercontent.com/eggacheb/lc-config-yaml/main/librechat-rw.yaml
|
| 30 |
#COPY librechat.yaml ./librechat.yaml # Uncomment
|