File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,12 @@ ENV DEBIAN_FRONTEND=noninteractive \
88
99WORKDIR /app
1010
11+ # Dépendances système pour Python + build C/C++ + OpenCL/BLAS
1112RUN apt-get update && \
1213 apt-get upgrade -y && \
1314 apt-get install -y --no-install-recommends \
1415 python3 python3-pip python3-dev \
15- python3.12-venv \ # <<< IMPORTANT
16+ python3-venv python3 .12-venv \
1617 git build-essential \
1718 cmake ninja-build \
1819 gcc g++ wget \
@@ -22,14 +23,14 @@ RUN apt-get update && \
2223 echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd && \
2324 rm -rf /var/lib/apt/lists/*
2425
25- # Création du venv (maintenant possible )
26+ # Création du venv (PEP 668 friendly )
2627RUN python3 -m venv /opt/venv
2728ENV PATH="/opt/venv/bin:${PATH}"
2829
2930# Copie du projet
3031COPY . .
3132
32- # Vars pour la build CUDA
33+ # Vars pour la build CUDA de llama-cpp-python
3334ENV CUDA_DOCKER_ARCH=all \
3435 GGML_CUDA=1 \
3536 FORCE_CMAKE=1 \
You can’t perform that action at this time.
0 commit comments