forked from owocki/pytrader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (26 loc) · 790 Bytes
/
Dockerfile
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
27
28
29
30
31
FROM python:2.7
RUN apt-get update && apt-get install -y \
gcc \
gettext \
mysql-client libmysqlclient-dev \
postgresql-client libpq-dev \
sqlite3 \
libblas-dev \
liblapack-dev \
libatlas-base-dev \
gfortran \
cron \
swig \
--no-install-recommends && rm -rf /var/lib/apt/lists/*
RUN pip install numpy==1.7.1
RUN pip install scipy==0.13.3
RUN pip install matplotlib==1.3.1
COPY requirements.txt /requirements.txt
RUN pip install --no-cache-dir -r /requirements.txt
RUN git clone git://github.com/bayerj/arac.git /root/arac && \
cd /root/arac/ && \
sed -i "s/.*test.*//i" SConstruct && \
scons && \
cp libarac.so /usr/lib/ && \
cd /root/
ENV PYTHONPATH=/root/arac/src/python