aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile1
-rw-r--r--requirements.txt3
2 files changed, 4 insertions, 0 deletions
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