llt-prediction / .dockerfile
ahsanr's picture
Rename .Dockerfile to .dockerfile
b864004 verified
raw
history blame contribute delete
520 Bytes
FROM python:3.10-slim
# 1) system deps + fetch .deb
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential wget python3-dev \
&& wget https://prdownloads.sourceforge.net/ta-lib/ta-lib_0.6.4_amd64.deb \
&& dpkg -i ta-lib_0.6.4_amd64.deb \
&& rm ta-lib_0.6.4_amd64.deb \
&& rm -rf /var/lib/apt/lists/*
# 2) install your Python deps
COPY requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app
CMD ["python", "app.py"]