From aec8609de9d71844fa21bbc90fbdfb909667b7f0 Mon Sep 17 00:00:00 2001 From: James Veitch Date: Sun, 28 Jun 2026 17:09:04 +0100 Subject: [PATCH] fix(docker): explicitly install requests missing from ComfyUI v0.3.44 requirements app/frontend_management.py imports requests but the tag's requirements.txt omits it. Add explicit pip install so the image build is self-contained. Co-Authored-By: Claude Sonnet 4.6 --- docker/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 9383b54..fb860dd 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,10 +17,13 @@ RUN git clone --depth 1 --branch ${COMFYUI_VERSION} \ WORKDIR /app/ComfyUI # Install ComfyUI deps with CPU-only torch (no CUDA download) +# requests is imported by app/frontend_management.py but not listed in +# ComfyUI's requirements.txt at this tag — pin it explicitly. RUN pip install --no-cache-dir \ torch torchvision torchaudio \ --index-url https://download.pytorch.org/whl/cpu && \ - pip install --no-cache-dir -r requirements.txt + pip install --no-cache-dir -r requirements.txt && \ + pip install --no-cache-dir requests # Copy comfydv source into custom_nodes COPY . /app/ComfyUI/custom_nodes/comfydv