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 <noreply@anthropic.com>
This commit is contained in:
James Veitch
2026-06-28 17:09:04 +01:00
co-authored by Claude Sonnet 4.6
parent e94cebe9de
commit aec8609de9
+4 -1
View File
@@ -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