ihaveaplan66 commited on
Commit
720985b
·
verified ·
1 Parent(s): a9f28ce

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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