Skip to content

Commit

Permalink
Fix requirements and Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
vlall committed May 15, 2019
1 parent a2e21a6 commit 16afa7c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
8 changes: 4 additions & 4 deletions webapp/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 16afa7c

Please sign in to comment.