From 7b1364cd7a565561efe0208c89195abd34645484 Mon Sep 17 00:00:00 2001 From: Sean Dolan Date: Sun, 28 Jul 2019 19:26:15 -0400 Subject: build fixes --- Dockerfile | 1 + requirements.txt | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 73af964..117304b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM python:3-alpine WORKDIR /usr/src/app COPY requirements.txt ./ +RUN apk --no-cache --update-cache add gcc gfortran build-base wget freetype-dev libpng-dev openblas-dev RUN pip install --no-cache-dir -r requirements.txt COPY . . CMD ["python", "app.py"] diff --git a/requirements.txt b/requirements.txt index a4aab0a..4e10d2f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,12 @@ Click==7.0 Flask==1.1.1 +Flask-Limiter==1.0.1 funcy==1.12 itsdangerous==1.1.0 Jinja2==2.10.1 +limits==1.3 MarkupSafe==1.1.1 numpy==1.17.0 scipy==1.3.0 +six==1.12.0 Werkzeug==0.15.5 -- cgit v1.2.3