-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (23 loc) · 705 Bytes
/
Dockerfile
File metadata and controls
29 lines (23 loc) · 705 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
27
28
29
FROM heroku/heroku:16
RUN apt-get update && apt-get install -y \
gcc \
python3-pip \
libsm6 \
build-essential \
cmake \
pkg-config \
libx11-dev \
libatlas-base-dev \
libgtk-3-dev \
libboost-python-dev
RUN cd /tmp && \
wget -O ta-lib.tar.gz http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz && \
tar xvzf ta-lib.tar.gz && \
cd ta-lib && \
./configure --prefix=/usr && \
make && make install
ADD ./requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
ADD ./ /opt/webapp/
WORKDIR /opt/webapp
CMD python3 main.py --test --account binanceaccount1 --exchange binanace --pair BTCUSDT --strategy Sample