Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +7 -1
Dockerfile
CHANGED
@@ -19,9 +19,15 @@ ENV PLUGIN_MODELS=gpt-3.5-turbo-1106,gpt-4-1106-preview,gpt-4-vision-preview,gpt
|
|
19 |
# ENV MEILI_HOST=https://librechat-meilisearch.hf.space
|
20 |
# ENV MEILI_HTTP_ADDR=https://librechat-meilisearch.hf.space
|
21 |
|
22 |
-
# Create necessary
|
23 |
RUN mkdir -p /app/client/public/images/temp
|
|
|
|
|
|
|
|
|
24 |
RUN chmod -R 777 /app/client/public/images
|
|
|
|
|
25 |
|
26 |
# Install dependencies
|
27 |
RUN cd /app/api && npm install
|
|
|
19 |
# ENV MEILI_HOST=https://librechat-meilisearch.hf.space
|
20 |
# ENV MEILI_HTTP_ADDR=https://librechat-meilisearch.hf.space
|
21 |
|
22 |
+
# Create necessary directories for vision
|
23 |
RUN mkdir -p /app/client/public/images/temp
|
24 |
+
RUN mkdir -p /app/api/logs/
|
25 |
+
RUN mkdir -p /app/data
|
26 |
+
|
27 |
+
# Give write permission to the directory
|
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 |
# Install dependencies
|
33 |
RUN cd /app/api && npm install
|