-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (23 loc) · 972 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
32
33
34
FROM python:3.8
MAINTAINER Part Time Larry "[email protected]"
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
RUN apt-get install sbcl
# 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. numpy is manually installed in the
# docker file here, because of a failure when the latest version was
# called down from the docker-compose.yml configuration. RUN pip3
install --upgrade --no-binary numpy==1.18.1 numpy==1.18.1 \ && pip3
# install -r requirements.txt