eligapris commited on
Commit
b530d26
·
verified ·
1 Parent(s): eb0bb3f

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +24 -0
Dockerfile ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ # Install system dependencies for TA-Lib
4
+ RUN apt-get update && apt-get install -y \
5
+ build-essential \
6
+ wget \
7
+ && rm -rf /var/lib/apt/lists/*
8
+
9
+ # Download and install TA-Lib C library
10
+ RUN wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz && \
11
+ tar -xzf ta-lib-0.4.0-src.tar.gz && \
12
+ cd ta-lib/ && \
13
+ ./configure --prefix=/usr && \
14
+ make && \
15
+ make install && \
16
+ cd .. && \
17
+ rm -rf ta-lib ta-lib-0.4.0-src.tar.gz
18
+
19
+ # Install Python TA-Lib
20
+ RUN pip install TA-Lib
21
+
22
+ # Copy your application
23
+ COPY . /app
24
+ WORKDIR /app