From 86d74c266c0108733aa3811b307c45fb677fc4e2 Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Sat, 18 Jul 2026 09:24:53 -0400 Subject: [PATCH] Add signal handling and bump ComfyUI to v0.28.0 --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b97611d..ecef7c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM docker.io/pytorch/pytorch:2.6.0-cuda12.4-cudnn9-runtime -ARG COMFYUI_VERSION=v0.27.1 +ARG COMFYUI_VERSION=v0.28.0 RUN apt-get update && apt-get install -y --no-install-recommends \ - build-essential git \ + build-essential git tini \ && rm -rf /var/lib/apt/lists/* RUN git clone --depth 1 --branch ${COMFYUI_VERSION} \ https://github.com/Comfy-Org/ComfyUI /app @@ -9,4 +9,6 @@ WORKDIR /app RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r manager_requirements.txt EXPOSE 8188 +STOPSIGNAL SIGINT +ENTRYPOINT ["tini", "-g", "--"] CMD ["python", "main.py", "--listen", "0.0.0.0", "--enable-manager"]