Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \
|
|
13 |
|
14 |
RUN pip install --no-cache-dir -r requirements.txt
|
15 |
|
16 |
-
RUN python -c "import nltk; nltk.download('punkt'); nltk.download('stopwords'); nltk.download('averaged_perceptron_tagger')"
|
17 |
|
18 |
EXPOSE 7860
|
19 |
|
|
|
13 |
|
14 |
RUN pip install --no-cache-dir -r requirements.txt
|
15 |
|
16 |
+
RUN python -c "import nltk; nltk.data.path.append('/app/nltk_data'); nltk.download('punkt', download_dir='/app/nltk_data'); nltk.download('stopwords', download_dir='/app/nltk_data'); nltk.download('averaged_perceptron_tagger', download_dir='/app/nltk_data')"
|
17 |
|
18 |
EXPOSE 7860
|
19 |
|