File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ COPY requirements.txt .
1515COPY brown_length .
1616COPY word_freqs .
1717COPY w2v .
18- RUN cat /etc/os-release
1918RUN yum install -y wget unzip
2019RUN pip3 install -r requirements.txt
2120
@@ -27,7 +26,7 @@ RUN wget -O /usr/share/nltk_data/corpora/stopwords.zip https://raw.githubusercon
2726RUN wget -O /usr/share/nltk_data/tokenizers/punkt.zip https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/tokenizers/punkt.zip
2827RUN wget -O /usr/share/nltk_data/tokenizers/punkt_tab.zip https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/tokenizers/punkt_tab.zip
2928
30- # Unzip the downloaded files into the correct subfolders
29+ # Unzip the downloaded files into the correct subfolders corresponsing to NLTK requirements
3130RUN unzip /usr/share/nltk_data/corpora/wordnet.zip -d /usr/share/nltk_data/corpora/
3231RUN unzip /usr/share/nltk_data/models/word2vec_sample.zip -d /usr/share/nltk_data/models/
3332RUN unzip /usr/share/nltk_data/corpora/brown.zip -d /usr/share/nltk_data/corpora/
You can’t perform that action at this time.
0 commit comments