SiddharthVenba commited on
Commit
e5e09a3
·
1 Parent(s): 225f6a7

Update Dockerfile build dependencies and relax pandas-ta version

Browse files
Files changed (2) hide show
  1. Dockerfile +7 -1
  2. requirements.txt +1 -1
Dockerfile CHANGED
@@ -2,11 +2,17 @@ FROM python:3.11
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies if any
6
  RUN apt-get update && apt-get install -y --no-install-recommends \
7
  build-essential \
 
 
 
8
  && rm -rf /var/lib/apt/lists/*
9
 
 
 
 
10
  # Install python requirements
11
  COPY requirements.txt .
12
  RUN pip install --no-cache-dir -r requirements.txt
 
2
 
3
  WORKDIR /app
4
 
5
+ # Install system dependencies
6
  RUN apt-get update && apt-get install -y --no-install-recommends \
7
  build-essential \
8
+ cmake \
9
+ git \
10
+ pkg-config \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
+ # Upgrade pip and add build tools just in case
14
+ RUN pip install --no-cache-dir --upgrade pip setuptools wheel
15
+
16
  # Install python requirements
17
  COPY requirements.txt .
18
  RUN pip install --no-cache-dir -r requirements.txt
requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
  # Swing Quant Engine
2
  yfinance>=0.2.40
3
  pandas>=2.0
4
- pandas-ta>=0.3.14b
5
  numpy>=1.24
6
  pyportfolioopt>=1.5
7
  backtesting>=0.3.3
 
1
  # Swing Quant Engine
2
  yfinance>=0.2.40
3
  pandas>=2.0
4
+ pandas-ta
5
  numpy>=1.24
6
  pyportfolioopt>=1.5
7
  backtesting>=0.3.3