instalation of nltk

This commit is contained in:
Rafał Jaworski 2019-06-06 14:17:54 +02:00
parent 8d84d303f2
commit 257929b63d

View File

@ -9,8 +9,9 @@ ENV LANGUAGE pl_PL:pl
ENV LC_ALL pl_PL.UTF-8
RUN add-apt-repository 'deb http://sgjp.pl/apt/ubuntu-xenial xenial main' && apt-get update
RUN apt-get install --allow-unauthenticated -y git python3 python3-pip morfeusz2
RUN apt-get install --allow-unauthenticated -y git python3 python3-pip morfeusz2 python3-nltk
RUN pip3 install flask flask_restful gunicorn requests
RUN python3 -c "import nltk;nltk.download('wordnet')"
COPY python3-morfeusz2_0.4.0-1_amd64.deb /
RUN dpkg -i python3-morfeusz2_0.4.0-1_amd64.deb