From b88d6c53e024929093ada1f4f0ac7cfd1697ca9d Mon Sep 17 00:00:00 2001 From: NachoCP Date: Wed, 10 Feb 2016 11:25:20 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 26f43b9..4c7d7fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ RUN apt-get -y install python-sklearn RUN apt-get -y install python-gevent RUN apt-get -y install libopenblas-dev RUN apt-get -y install gfortran +RUN apt-get -y install libxml2-dev libxslt1-dev python-dev + RUN pip install --upgrade pip ADD id_rsa /root/.ssh/id_rsa @@ -22,7 +24,10 @@ RUN git clone https://github.com/gsi-upm/senpy-plugins-community /senpy-plugins/ RUN pip install /usr/src/app RUN pip install --no-use-wheel -r /senpy-plugins/enterprise/requirements.txt - +RUN python -m nltk.downloader stopwords +RUN python -m nltk.downloader punkt +RUN python -m nltk.downloader maxent_treebank_pos_tagger +RUN python -m nltk.downloader wordnet WORKDIR /senpy-plugins -ENTRYPOINT ["python", "-m", "senpy", "-f", "."] +ENTRYPOINT ["python", "-m", "senpy", "-f", ".", "--host", "0.0.0.0"]