Installer depuis requirements.txt et retirer les paquets jamais importés

This commit is contained in:
Antoine Jacquin
2026-09-18 21:28:14 +02:00
parent d2d8e4d85d
commit e5895df7b8
2 changed files with 20 additions and 28 deletions

View File

@ -21,29 +21,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /app
# Install Python packages via pip
# Install Python packages via pip (liste unique : requirements.txt)
COPY requirements.txt .
RUN pip3 install --no-cache-dir \
numpy \
matplotlib \
whitebox \
rasterio \
'laspy[lazrs]' \
lazrs \
scikit-image \
scikit-learn \
scipy \
tqdm \
Pillow \
pytest \
numba \
rio-cogeo \
titiler.core \
fastapi \
uvicorn \
piexif \
pillow-avif-plugin \
cmcrameri
RUN pip3 install --no-cache-dir -r requirements.txt
# CuPy on CUDA 12.9 with JIT compilation (CUPY_CUDA_COMPILE_WITH_CACHE=1).
# JIT allows CuPy to compile kernels at runtime for GPU architectures not in