aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-24 16:41:57 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-24 16:41:57 +0530
commitab68e0b4038599dcb33bb00411aed04593cb1fde (patch)
treed9640d2f1171d819ca34e4e60605802612146dfe
parent8f534261a934542fef612362ab851b87c59887dd (diff)
added docker specific requirements file to fix heroku
-rw-r--r--Dockerfile4
-rw-r--r--requirements-docker.txt30
-rw-r--r--requirements.txt4
3 files changed, 32 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index 39acfc8..3e0bc50 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -29,8 +29,8 @@ EXPOSE 8080
WORKDIR /curie-web
-COPY requirements.txt /curie-web
-RUN python3 -m pip install -r requirements.txt
+COPY requirements-docker.txt /curie-web
+RUN python3 -m pip install -r requirements-docker.txt
# Install PLIP
RUN git clone https://github.com/navanchauhan/plip source \
diff --git a/requirements-docker.txt b/requirements-docker.txt
new file mode 100644
index 0000000..e80e36e
--- /dev/null
+++ b/requirements-docker.txt
@@ -0,0 +1,30 @@
+Click==7.0
+Flask==1.1.1
+Flask-WTF==0.14.2
+gunicorn==20.0.4
+itsdangerous==1.1.0
+Jinja2==2.11.0
+MarkupSafe==1.1.1
+Werkzeug==0.16.1
+WTForms==2.2.1
+email_validator
+fastapi==0.59.0
+tabulate
+untangle
+mysql-connector-python
+mysql
+uvicorn
+bunch
+tqdm
+prettytable
+gradio
+git+https://github.com/bp-kelley/descriptastorus
+tensorflow-cpu>=2.0
+pandas_flavor
+subword_nmt
+wget
+lifelines
+scikit-plot
+pymed
+logzero
+oddt \ No newline at end of file
diff --git a/requirements.txt b/requirements.txt
index e80e36e..b1338c1 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -14,12 +14,9 @@ untangle
mysql-connector-python
mysql
uvicorn
-bunch
tqdm
prettytable
gradio
-git+https://github.com/bp-kelley/descriptastorus
-tensorflow-cpu>=2.0
pandas_flavor
subword_nmt
wget
@@ -27,4 +24,3 @@ lifelines
scikit-plot
pymed
logzero
-oddt \ No newline at end of file