install spacy

This commit is contained in:
rjawor 2019-06-10 14:31:17 +02:00
parent 257929b63d
commit 676ae18922

View File

@ -9,9 +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 python3-nltk
RUN pip3 install flask flask_restful gunicorn requests
RUN python3 -c "import nltk;nltk.download('wordnet')"
RUN apt-get install --allow-unauthenticated -y git python3 python3-pip morfeusz2
RUN pip3 install flask flask_restful gunicorn requests spacy
RUN python3 -m spacy download en
COPY python3-morfeusz2_0.4.0-1_amd64.deb /
RUN dpkg -i python3-morfeusz2_0.4.0-1_amd64.deb