Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -21,6 +21,7 @@ RUN git clone https://github.com/kapllan/SmartOpinion.git /app
|
|
21 |
|
22 |
# Create and set permissions for the logs directory
|
23 |
RUN mkdir -p /app/logs && chmod -R 777 /app/logs
|
|
|
24 |
|
25 |
# Set the Hugging Face cache environment variable
|
26 |
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
@@ -28,7 +29,6 @@ ENV TRANSFORMERS_CACHE=/app/cache
|
|
28 |
|
29 |
RUN chmod -R 777 /app/models
|
30 |
RUN chmod -R 777 /app/data
|
31 |
-
RUN chmod -R 777 /nltk_data
|
32 |
|
33 |
# Set the working directory in the container
|
34 |
WORKDIR /app
|
|
|
21 |
|
22 |
# Create and set permissions for the logs directory
|
23 |
RUN mkdir -p /app/logs && chmod -R 777 /app/logs
|
24 |
+
RUN mkdir -p nltk_data && chmod -R 777 nltk_data
|
25 |
|
26 |
# Set the Hugging Face cache environment variable
|
27 |
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
|
|
29 |
|
30 |
RUN chmod -R 777 /app/models
|
31 |
RUN chmod -R 777 /app/data
|
|
|
32 |
|
33 |
# Set the working directory in the container
|
34 |
WORKDIR /app
|