bearking58 commited on
Commit
4660874
·
1 Parent(s): 8f0525e

fix: unzip wordnet manually

Browse files
Files changed (1) hide show
  1. core-model-prediction/Dockerfile +4 -0
core-model-prediction/Dockerfile CHANGED
@@ -10,8 +10,12 @@ COPY . /app
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
13
  RUN python -m nltk.downloader punkt wordnet averaged_perceptron_tagger
14
 
 
 
 
15
  # Make port 8080 available to the world outside this container
16
  EXPOSE 8080
17
 
 
10
  # Install any needed packages specified in requirements.txt
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ # Download NLTK data
14
  RUN python -m nltk.downloader punkt wordnet averaged_perceptron_tagger
15
 
16
+ # Unzip wordnet
17
+ RUN unzip /root/nltk_data/corpora/wordnet.zip -d /root/nltk_data/corpora/
18
+
19
  # Make port 8080 available to the world outside this container
20
  EXPOSE 8080
21