1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-12-22 13:08:13 +00:00

Update Dockerfile

This commit is contained in:
NachoCP 2016-02-10 11:25:20 +01:00
parent 4f2aee5681
commit b88d6c53e0

View File

@ -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"]