diff --git a/concordia-preprocessor/Dockerfile b/concordia-preprocessor/Dockerfile index 87674ae..d348035 100644 --- a/concordia-preprocessor/Dockerfile +++ b/concordia-preprocessor/Dockerfile @@ -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