From ab68e0b4038599dcb33bb00411aed04593cb1fde Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Thu, 24 Sep 2020 16:41:57 +0530 Subject: [PATCH] added docker specific requirements file to fix heroku --- Dockerfile | 4 ++-- requirements-docker.txt | 30 ++++++++++++++++++++++++++++++ requirements.txt | 4 ---- 3 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 requirements-docker.txt 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