File size: 833 Bytes
ee5e586 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # Use an existing ComfyUI image as a base
FROM yanwk/comfyui-boot:latest
# Install any extra dependencies for Wan 2.2 and our custom nodes
RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 && rm -rf /var/lib/apt/lists/*
# Pre-install the ComfyUI-VideoHelperSuite for video support
RUN cd /comfyui/custom_nodes && \
git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite.git && \
cd ComfyUI-VideoHelperSuite && \
pip install -r requirements.txt
# Create directories for models
RUN mkdir -p /comfyui/models/checkpoints /comfyui/models/clip_vision /comfyui/models/vae
# We will handle model downloads at runtime or via volume mounting to save Docker image size
# But we can pre-configure the entrypoint if needed
EXPOSE 8188
CMD ["python3", "main.py", "--listen", "0.0.0.0", "--port", "8188"]
|