forked from BBVA/timecop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (18 loc) · 697 Bytes
/
Dockerfile
File metadata and controls
26 lines (18 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM tiangolo/uwsgi-nginx-flask:python3.6
RUN apt-get update && apt-get install -y redis-server python3-celery python-celery-common python3-redis
COPY ./ /app
COPY ./requirements.txt /tmp/
RUN pip3 install numpy sqlalchemy
RUN pip install --upgrade --no-deps statsmodels
RUN pip3 install --requirement /tmp/requirements.txt
RUN pip install -U numpy
RUN pip3 install pandas scipy patsy matplotlib numdifftools seaborn
RUN pip3 install pyflux
RUN pip3 install pyramid-arima
RUN pip3 install tensorflow
RUN pip3 install -U statsmodels
RUN pip3 install celery
RUN pip install redis
RUN service redis-server start
COPY ./config/timeout.conf /etc/nginx/conf.d/
RUN chmod -R g=u /etc/passwd /app