1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-09-28 17:01:43 +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 python-gevent
RUN apt-get -y install libopenblas-dev RUN apt-get -y install libopenblas-dev
RUN apt-get -y install gfortran RUN apt-get -y install gfortran
RUN apt-get -y install libxml2-dev libxslt1-dev python-dev
RUN pip install --upgrade pip RUN pip install --upgrade pip
ADD id_rsa /root/.ssh/id_rsa 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 /usr/src/app
RUN pip install --no-use-wheel -r /senpy-plugins/enterprise/requirements.txt 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 WORKDIR /senpy-plugins
ENTRYPOINT ["python", "-m", "senpy", "-f", "."] ENTRYPOINT ["python", "-m", "senpy", "-f", ".", "--host", "0.0.0.0"]