Fix build

This commit is contained in:
2025-11-27 17:43:52 +01:00
parent 95194eadfc
commit 679e179edc
13 changed files with 7645 additions and 23 deletions

View File

@@ -7,15 +7,25 @@ RUN apt-get update && apt-get install -y \
libsndfile1-dev \
gcc \
g++ \
gfortran \
libopenblas-dev \
liblapack-dev \
pkg-config \
curl \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Upgrade pip, setuptools, wheel
RUN pip install --no-cache-dir --upgrade pip setuptools wheel
# Copy requirements
COPY requirements.txt .
# Install Python dependencies
# Install Python dependencies in stages for better caching
RUN pip install --no-cache-dir numpy==1.24.3
RUN pip install --no-cache-dir scipy==1.11.4
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code