Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -25,12 +25,14 @@ COPY requirements.txt /app/
|
|
25 |
RUN pip install --no-cache-dir -r requirements.txt
|
26 |
|
27 |
# Create and set permissions for the cache directory
|
28 |
-
RUN mkdir -p /app/cache /app/VectorDB /app/uploads && \
|
29 |
-
chmod -R 777 /app/cache /app/VectorDB /app/uploads
|
30 |
|
31 |
# Ensure all relevant directories have the correct permissions
|
32 |
RUN chmod -R 777 /app/VectorDB
|
33 |
RUN chmod -R 777 /app/uploads
|
|
|
|
|
34 |
RUN chmod -R 777 /app
|
35 |
|
36 |
# Copy the rest of the application code to /app
|
|
|
25 |
RUN pip install --no-cache-dir -r requirements.txt
|
26 |
|
27 |
# Create and set permissions for the cache directory
|
28 |
+
RUN mkdir -p /app/cache /app/VectorDB /app/uploads /app/nltk_data /nltk_data && \
|
29 |
+
chmod -R 777 /app/cache /app/VectorDB /app/uploads /app/nltk_data /nltk_data
|
30 |
|
31 |
# Ensure all relevant directories have the correct permissions
|
32 |
RUN chmod -R 777 /app/VectorDB
|
33 |
RUN chmod -R 777 /app/uploads
|
34 |
+
RUN chmod -R 777 /app/nltk_data
|
35 |
+
RUN chmod -R 777 /nltk_data
|
36 |
RUN chmod -R 777 /app
|
37 |
|
38 |
# Copy the rest of the application code to /app
|