summaryrefslogtreecommitdiff
path: root/Dockerfile.comfyui
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-10-10 12:50:04 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-10-10 12:50:04 +0200
commitc7aaf81049cdf7cef94d07af149e5cfb3fcd2231 (patch)
treefce6d4e6192406c91b4c4e3db7ca879f197d4145 /Dockerfile.comfyui
parent9622cfbae5b5d004a5901c81dd48ec04ee0fdea6 (diff)
downloadlocal-ai-c7aaf81049cdf7cef94d07af149e5cfb3fcd2231.tar.xz
local-ai-c7aaf81049cdf7cef94d07af149e5cfb3fcd2231.zip
docker: update ComfyUI
Diffstat (limited to 'Dockerfile.comfyui')
-rw-r--r--Dockerfile.comfyui35
1 files changed, 35 insertions, 0 deletions
diff --git a/Dockerfile.comfyui b/Dockerfile.comfyui
new file mode 100644
index 0000000..1c0d797
--- /dev/null
+++ b/Dockerfile.comfyui
@@ -0,0 +1,35 @@
+FROM docker.io/ubuntu:resolute
+
+RUN mkdir /app
+
+RUN apt update && \
+ apt full-upgrade --auto-remove --purge --yes && \
+ apt install --no-install-recommends --yes \
+ git \
+ libatomic1 \
+ python3 \
+ python3-venv && \
+ python3 -m venv /app/venv && \
+ rm -rf /var/lib/apt/lists/*
+
+RUN /app/venv/bin/pip3 install --index-url https://download.pytorch.org/whl/rocm7.2 \
+ torch \
+ torchaudio \
+ torchvision
+
+RUN /app/venv/bin/pip install \
+ gguf
+
+WORKDIR /app/ComfyUI
+
+RUN git clone https://github.com/Comfy-Org/ComfyUI.git .
+
+RUN /app/venv/bin/pip install \
+ --pre \
+ --upgrade \
+ -r requirements.txt \
+ comfy-aimdo \
+ comfyui-manager \
+ gguf
+
+ENTRYPOINT ["/app/venv/bin/python3", "main.py"]