Compare commits

...
2 Commits
Author SHA1 Message Date
kris d18fb9b716 Bump base image to PyTorch 2.12.1 on CUDA 13.0 2026-07-18 10:03:40 -04:00
kris 86d74c266c Add signal handling and bump ComfyUI to v0.28.0 2026-07-18 09:24:53 -04:00
+6 -3
View File
@@ -1,7 +1,8 @@
FROM docker.io/pytorch/pytorch:2.6.0-cuda12.4-cudnn9-runtime FROM docker.io/pytorch/pytorch:2.12.1-cuda13.0-cudnn9-runtime
ARG COMFYUI_VERSION=v0.27.1 ARG COMFYUI_VERSION=v0.28.0
ENV PIP_BREAK_SYSTEM_PACKAGES=1
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential git \ build-essential git tini \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN git clone --depth 1 --branch ${COMFYUI_VERSION} \ RUN git clone --depth 1 --branch ${COMFYUI_VERSION} \
https://github.com/Comfy-Org/ComfyUI /app https://github.com/Comfy-Org/ComfyUI /app
@@ -9,4 +10,6 @@ WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r manager_requirements.txt RUN pip install --no-cache-dir -r manager_requirements.txt
EXPOSE 8188 EXPOSE 8188
STOPSIGNAL SIGINT
ENTRYPOINT ["tini", "-g", "--"]
CMD ["python", "main.py", "--listen", "0.0.0.0", "--enable-manager"] CMD ["python", "main.py", "--listen", "0.0.0.0", "--enable-manager"]