Commit b88d6c53 authored by Ignacio Corcuera's avatar Ignacio Corcuera
Browse files

Update Dockerfile

parent 4f2aee56
......@@ -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"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment