indicators and plots
This commit is contained in:
@@ -1,3 +1,27 @@
|
||||
FROM python:3.14-alpine
|
||||
|
||||
COPY python/src /app/src
|
||||
# Install TA-Lib C library and build dependencies
|
||||
RUN apk add --no-cache --virtual .build-deps \
|
||||
gcc \
|
||||
g++ \
|
||||
make \
|
||||
musl-dev \
|
||||
wget \
|
||||
&& apk add --no-cache \
|
||||
ta-lib \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy requirements first for better caching
|
||||
COPY backend/requirements.txt /app/requirements.txt
|
||||
|
||||
# Install Python dependencies
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Clean up build dependencies
|
||||
RUN apk del .build-deps
|
||||
|
||||
# Copy application code
|
||||
COPY backend/src /app/src
|
||||
|
||||
Reference in New Issue
Block a user