rynfkn commited on
Commit
82564ee
·
1 Parent(s): a6ad1dd

fix download NTLK

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -29,6 +29,8 @@ COPY --chown=user requirements.txt $HOME/app/
29
  # Install Python dependencies
30
  RUN pip install --user --no-cache-dir -r requirements.txt
31
 
 
 
32
  # Copy application files
33
  COPY --chown=user app.py $HOME/app/
34
  COPY --chown=user config.py $HOME/app/
 
29
  # Install Python dependencies
30
  RUN pip install --user --no-cache-dir -r requirements.txt
31
 
32
+ RUN python -c "import nltk; nltk.download('all', download_dir='/home/user/nltk_data')"
33
+
34
  # Copy application files
35
  COPY --chown=user app.py $HOME/app/
36
  COPY --chown=user config.py $HOME/app/