diff --git a/docker/Dockerfile b/docker/Dockerfile index b2d2cf5..b11ae4a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,10 +1,13 @@ FROM ubuntu +ENV DEBIAN_FRONTEND=noninteractive + RUN apt-get update -y RUN apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev -y RUN apt-get install build-essential checkinstall -y RUN apt-get install wget -y RUN apt-get install openjdk-8-jdk -y +RUN apt-get install curl -y RUN wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz RUN tar -xvf Python-2.7.10.tgz WORKDIR ./Python-2.7.10 @@ -21,4 +24,5 @@ WORKDIR /ASSESS/webapp/standards_extraction RUN ./build.sh WORKDIR /ASSESS/webapp RUN pip install -r requirements.txt -RUN python -m textblob.download_corpora +RUN pip install -U textblob +RUN curl https://raw.github.com/sloria/TextBlob/master/download_corpora.py | python diff --git a/webapp/requirements.txt b/webapp/requirements.txt index adbec62..137b3d2 100644 --- a/webapp/requirements.txt +++ b/webapp/requirements.txt @@ -3,20 +3,20 @@ chardet==3.0.4 click==6.7 decorator==4.1.2 dill==0.2.7.1 -Flask==0.12.2 +flask>=0.12.3 Flask-Cors==3.0.2 idna==2.6 itsdangerous==0.24 -Jinja2==2.9.6 +Jinja2>=2.10.1 MarkupSafe==1.0 networkx==1.11 nltk==3.2.3 numpy==1.12.1 -requests==2.18.4 +requests==2.21.0 scikit-learn==0.19.0 scipy==0.19.1 six==1.11.0 textblob==0.13.0 -urllib3==1.24.1 +urllib3>=1.24.2 Werkzeug==0.12.2 pandas==0.19.2