forked from hackingthemarkets/tradekit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (19 loc) · 711 Bytes
/
Copy pathDockerfile
File metadata and controls
28 lines (19 loc) · 711 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
FROM python:3.8
MAINTAINER Part Time Larry "parttimelarry@gmail.com"
ADD . /app
WORKDIR /app
RUN apt-get update && apt-get install -y build-essential redis-server sqlite3 \
curl software-properties-common
# install nodejs and wscat websocket client
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get install -y nodejs && npm install wscat
# download and build TA-Lib
RUN wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz && \
tar -xvzf ta-lib-0.4.0-src.tar.gz && \
cd ta-lib/ && \
./configure --prefix=/usr && \
make && \
make install
RUN rm -R ta-lib ta-lib-0.4.0-src.tar.gz
# install popular Python packages
RUN pip3 install -r requirements.txt