Make Qwen Image 2.1 the production image worker

This commit is contained in:
Mikei386 committed 2026-09-21 10:41:32 +02:00
1 parent aee31aa045
commit 5de4ac4b25
19 files changed
+531 -346

No files matched your search

@@ -0,0 +1,18 @@
ARG PYTORCH_IMAGE=pytorch/pytorch:2.11.0-cuda12.8-cudnn9-runtime
FROM ${PYTORCH_IMAGE}
ARG COMFYUI_COMMIT
RUN test -n "$COMFYUI_COMMIT" \
&& apt-get update \
&& apt-get install -y --no-install-recommends git ca-certificates \
&& git clone --filter=blob:none https://github.com/Comfy-Org/ComfyUI.git /opt/ComfyUI \
&& git -C /opt/ComfyUI checkout "$COMFYUI_COMMIT" \
&& python -m pip install --break-system-packages --no-cache-dir \
-r /opt/ComfyUI/requirements.txt \
&& apt-get purge -y --auto-remove git \
&& rm -rf /var/lib/apt/lists/* /root/.cache
WORKDIR /opt/ComfyUI
COPY qwen_image_worker.py /opt/qwen-image-worker.py
EXPOSE 8086
CMD ["python", "/opt/qwen-image-worker.py"]