kristada673 commited on
Commit
940b662
1 Parent(s): 716a104

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile CHANGED
@@ -1,5 +1,14 @@
1
  FROM python:3.10
2
  # RUN chmod +x install_talib.sh
3
  # RUN pip install talib-binary
 
 
 
 
 
 
 
 
 
4
  RUN pip install -r requirements.txt
5
  CMD ["python", "-u", "app.py"]
 
1
  FROM python:3.10
2
  # RUN chmod +x install_talib.sh
3
  # RUN pip install talib-binary
4
+
5
+ RUN wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
6
+ RUN tar -xzvf ta-lib-0.4.0-src.tar.gz
7
+ RUN cd ta-lib
8
+ RUN ./configure --prefix=/usr
9
+ RUN make
10
+ RUN make install
11
+ RUN pip install Ta-Lib
12
+
13
  RUN pip install -r requirements.txt
14
  CMD ["python", "-u", "app.py"]