From 676ae18922eba9366a2e2bbfe0e884bf9b7c9b4f Mon Sep 17 00:00:00 2001 From: rjawor Date: Mon, 10 Jun 2019 14:31:17 +0200 Subject: [PATCH] install spacy --- concordia-preprocessor/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/concordia-preprocessor/Dockerfile b/concordia-preprocessor/Dockerfile index d348035..679d927 100644 --- a/concordia-preprocessor/Dockerfile +++ b/concordia-preprocessor/Dockerfile @@ -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