Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
@@ -18,18 +18,20 @@ ENV DALLE_REVERSE_PROXY=https://api.daifuku.asia/v1/images/generations
|
|
18 |
# ENV MEILI_HTTP_ADDR=https://librechat-meilisearch.hf.space
|
19 |
|
20 |
# Create necessary directories
|
|
|
21 |
RUN mkdir -p /app/client/public/images/temp
|
22 |
RUN mkdir -p /app/api/logs/
|
23 |
RUN mkdir -p /app/data
|
24 |
|
25 |
-
# Copy Custom Endpoints Config
|
26 |
-
COPY librechat.yaml /app/librechat.yaml
|
27 |
-
|
28 |
# Give write permission to the directory
|
|
|
29 |
RUN chmod -R 777 /app/client/public/images
|
30 |
RUN chmod -R 777 /app/api/logs/
|
31 |
RUN chmod -R 777 /app/data
|
32 |
|
|
|
|
|
|
|
33 |
# Install dependencies
|
34 |
RUN cd /app/api && npm install
|
35 |
|
|
|
18 |
# ENV MEILI_HTTP_ADDR=https://librechat-meilisearch.hf.space
|
19 |
|
20 |
# Create necessary directories
|
21 |
+
RUN mkdir -p /app/uploads/temp
|
22 |
RUN mkdir -p /app/client/public/images/temp
|
23 |
RUN mkdir -p /app/api/logs/
|
24 |
RUN mkdir -p /app/data
|
25 |
|
|
|
|
|
|
|
26 |
# Give write permission to the directory
|
27 |
+
RUN chmod -R 777 /app/uploads/temp
|
28 |
RUN chmod -R 777 /app/client/public/images
|
29 |
RUN chmod -R 777 /app/api/logs/
|
30 |
RUN chmod -R 777 /app/data
|
31 |
|
32 |
+
# Copy Custom Endpoints Config
|
33 |
+
COPY librechat.yaml /app/librechat.yaml
|
34 |
+
|
35 |
# Install dependencies
|
36 |
RUN cd /app/api && npm install
|
37 |
|