From 01590a160f196d9cf834c00835222964bf815794 Mon Sep 17 00:00:00 2001 From: clsferguson <48876201+clsferguson@users.noreply.github.com> Date: Thu, 2 Oct 2025 11:14:34 -0600 Subject: [PATCH] feat(dockerfile): enable PEP 517 globally and preinstall Manager deps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set PIP_USE_PEP517=1 so all builds use the standardized PEP 517 interface, suppressing legacy setup.py deprecation warnings during image build and runtime installs. Keep CUDA 12.9 toolchain and bake GitPython/toml to satisfy ComfyUI-Manager’s import checks without uv or venvs. --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index fb1f7dbfa..6a36575a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ ENV DEBIAN_FRONTEND=noninteractive \ PIP_DISABLE_PIP_VERSION_CHECK=1 \ PIP_NO_CACHE_DIR=1 \ PIP_BREAK_SYSTEM_PACKAGES=1 \ + PIP_USE_PEP517=1 \ EXT_PARALLEL=4 \ NVCC_APPEND_FLAGS="--threads 8" \ MAX_JOBS=32 \ @@ -99,14 +100,11 @@ RUN python -m pip install --upgrade pip setuptools wheel \ # Copy the application COPY . . -# Pre-bake ComfyUI-Manager and configure it to not use uv +# Pre-bake ComfyUI-Manager RUN mkdir -p /app/ComfyUI/custom_nodes \ && if [ ! -d "/app/ComfyUI/custom_nodes/ComfyUI-Manager" ]; then \ git clone --depth 1 https://github.com/ltdrdata/ComfyUI-Manager.git /app/ComfyUI/custom_nodes/ComfyUI-Manager || true; \ - fi \ - && mkdir -p /app/ComfyUI/user/default/ComfyUI-Manager \ - && echo "[default]" > /app/ComfyUI/user/default/ComfyUI-Manager/config.ini \ - && echo "use_uv = false" >> /app/ComfyUI/user/default/ComfyUI-Manager/config.ini + fi # Entrypoint COPY entrypoint.sh /entrypoint.sh