Installer depuis requirements.txt et retirer les paquets jamais importés
This commit is contained in:
24
Dockerfile
24
Dockerfile
@ -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
|
||||
|
||||
Reference in New Issue
Block a user