Compare commits
4
Commits
15eb203b2f
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aaa28809d1
|
||
|
|
8093cba3b9
|
||
|
|
d18fb9b716
|
||
|
|
86d74c266c
|
+6
-3
@@ -1,12 +1,15 @@
|
|||||||
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
|
|
||||||
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 libgl1 libx11-6 tini \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
ARG COMFYUI_VERSION=v0.28.0
|
||||||
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
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
||||||
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"]
|
||||||
|
|||||||
@@ -1,11 +1,14 @@
|
|||||||
# docker-comfyui
|
# docker-comfyui
|
||||||
|
|
||||||
Build and run ComfyUI in a container. This build targets NVIDIA by basing it on
|
Build and run ComfyUI in a container with ComfyUI-Manager. This build targets
|
||||||
the CUDA PyTorch runtime image. The only extra dependencies needed are `git`, to
|
NVIDIA GPUs by using the CUDA PyTorch runtime image. Added dependencies are
|
||||||
clone the official ComfyUI repository, and `build-essential` for `gcc`, which
|
`libgl1` and `libx11-6` for the comfy_extras GLSL nodes, `tini` to handle SIGINT
|
||||||
Triton requires. The image pulls a specific, pinned ComfyUI version via the
|
signals, `git` to clone the ComfyUI repository, and `build-essential` for gcc,
|
||||||
`COMFYUI_VERSION` build arg. The build merely shallow-clones the repo and
|
which Triton requires.
|
||||||
installs its requirements with `pip`. Kept intentionally simple.
|
|
||||||
|
The image pulls a specific, pinned ComfyUI version via the `COMFYUI_VERSION`
|
||||||
|
build arg. The build merely shallow-clones the repo and installs its
|
||||||
|
requirements with pip. Kept intentionally simple.
|
||||||
|
|
||||||
### `.env` configuration
|
### `.env` configuration
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user