Run the latest ComfyUI. First start installs dependencies (takes a few minutes), then when you see this in the logs, ComfyUI is ready to be used: [ComfyUI-Manager] All startup tasks have been completed.
# build
docker buildx bake regular # Dockerfile → nxndev/comfyui:slim, :latest
docker buildx bake rtx5090 # Dockerfile.5090 → nxndev/comfyui:slim-5090, :latest-5090
docker buildx bake custom # Dockerfile.custom → nxndev/comfyui:slim, :latest
docker buildx bake custom-5090 # Dockerfile.custom-5090 → nxndev/comfyui:slim-5090, :latest-5090
docker buildx bake dev # Dockerfile → nxndev/comfyui:dev (local test)
docker buildx bake devpush # Dockerfile → nxndev/comfyui:dev
docker buildx bake devpush5090 # Dockerfile.5090 → nxndev/comfyui:dev-5090
# group build
docker buildx bake all # regular + rtx5090 (full build)
docker buildx bake custom-all # custom + custom-5090 (custom light build < recommanded)
# options
--push # push to the docker hub
--no-cache # without cache8188: ComfyUI web UI8080: FileBrowser (admin / adminadmin12)8888: JupyterLab (token viaJUPYTER_PASSWORD, root at/workspace)22: SSH (setPUBLIC_KEYor check logs for generated root password)
- ComfyUI-Manager
- ComfyUI-KJNodes
- Civicomfy
Edit /workspace/runpod-slim/comfyui_args.txt (one arg per line):
--max-batch-size 8
--preview-method auto
/workspace/runpod-slim/ComfyUI: ComfyUI install/workspace/runpod-slim/comfyui_args.txt: ComfyUI args/workspace/runpod-slim/filebrowser.db: FileBrowser DB
