Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -11,10 +11,7 @@ COPY . /app
|
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
# Create a directory for NLTK data
|
14 |
-
RUN mkdir -p /
|
15 |
-
|
16 |
-
# Set the NLTK_DATA environment variable
|
17 |
-
ENV NLTK_DATA=/app/nltk_data
|
18 |
|
19 |
# Download NLTK data
|
20 |
RUN python -m nltk.downloader stopwords punkt
|
|
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
13 |
# Create a directory for NLTK data
|
14 |
+
RUN mkdir -p /nltk_data && chmod -R 755 /nltk_data
|
|
|
|
|
|
|
15 |
|
16 |
# Download NLTK data
|
17 |
RUN python -m nltk.downloader stopwords punkt
|