Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +20 -6
Dockerfile
CHANGED
|
@@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
|
|
| 6 |
ARG USE_PERSISTENT_DATA
|
| 7 |
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
-
git \
|
| 10 |
make build-essential libssl-dev zlib1g-dev \
|
| 11 |
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
|
| 12 |
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev git git-lfs \
|
|
@@ -51,18 +51,26 @@ RUN git clone https://github.com/comfyanonymous/ComfyUI . && git checkout c69515
|
|
| 51 |
|
| 52 |
# Checkpoints
|
| 53 |
|
|
|
|
| 54 |
RUN echo "Downloading checkpoints..."
|
| 55 |
RUN wget -c https://huggingface.co/SG161222/RealVisXL_V4.0_Lightning/resolve/main/RealVisXL_V4.0_Lightning.safetensors -P ./models/checkpoints/
|
| 56 |
RUN wget -c https://huggingface.co/Lykon/dreamshaper-xl-lightning/resolve/main/DreamShaperXL_Lightning.safetensors -P ./models/checkpoints/
|
| 57 |
RUN wget -c https://huggingface.co/Lykon/DreamShaper/resolve/main/DreamShaper_8_pruned.safetensors -P ./models/checkpoints/
|
| 58 |
|
| 59 |
-
RUN echo "Downloading
|
| 60 |
|
| 61 |
RUN wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
RUN wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors -P ./models/controlnet/
|
| 63 |
RUN wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors -P ./models/controlnet/
|
| 64 |
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet-sdxl-canny-mid.safetensors -P ./models/controlnet/
|
| 65 |
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet-sdxl-depth-mid.safetensors -P ./models/controlnet/
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
RUN echo "Downloading LLavacheckpoints..."
|
| 68 |
|
|
@@ -91,8 +99,16 @@ RUN wget -c https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/Real
|
|
| 91 |
RUN wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x2.pth -P ./models/upscale_models/
|
| 92 |
RUN wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth -P ./models/upscale_models/
|
| 93 |
|
|
|
|
|
|
|
| 94 |
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/lcm-lora-sdv1-5.safetensors -P ./models/loras/
|
| 95 |
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/lcm-lora-sdxl.safetensors -P ./models/loras/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
|
| 97 |
RUN echo "Done"
|
| 98 |
|
|
@@ -115,12 +131,10 @@ RUN cd custom_nodes && git clone https://github.com/twri/sdxl_prompt_styler
|
|
| 115 |
RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
|
| 116 |
RUN cd custom_nodes && git clone https://github.com/AIrjen/OneButtonPrompt
|
| 117 |
RUN cd custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui && cd was-node-suite-comfyui && pip install -r requirements.txt
|
| 118 |
-
|
| 119 |
RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_essentials
|
| 120 |
RUN cd custom_nodes && git clone https://github.com/crystian/ComfyUI-Crystools && cd ComfyUI-Crystools && pip install -r requirements.txt
|
| 121 |
RUN cd custom_nodes && git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
|
| 122 |
-
RUN pip install -U torch torchvision torchaudio
|
| 123 |
-
|
| 124 |
RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI_VLM_nodes && cd ComfyUI_VLM_nodes && pip install -r requirements.txt
|
| 125 |
RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfyui_controlnet_aux && cd comfyui_controlnet_aux && pip install -r requirements.txt
|
| 126 |
RUN cd custom_nodes && git clone https://github.com/Stability-AI/stability-ComfyUI-nodes && cd stability-ComfyUI-nodes && pip install -r requirements.txt
|
|
@@ -135,7 +149,7 @@ RUN cd custom_nodes && git clone https://github.com/evanspearman/ComfyMath && cd
|
|
| 135 |
RUN cd custom_nodes && git clone https://github.com/Gourieff/comfyui-reactor-node && cd comfyui-reactor-node && pip install -r requirements.txt
|
| 136 |
RUN cd custom_nodes && git clone https://github.com/rgthree/rgthree-comfy && cd rgthree-comfy && pip install -r requirements.txt
|
| 137 |
RUN cd custom_nodes && git clone https://github.com/giriss/comfy-image-saver && cd comfy-image-saver && pip install -r requirements.txt
|
| 138 |
-
|
| 139 |
|
| 140 |
RUN echo "Done"
|
| 141 |
|
|
|
|
| 6 |
ARG USE_PERSISTENT_DATA
|
| 7 |
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
+
git libgl1 libglib2.0-0 \
|
| 10 |
make build-essential libssl-dev zlib1g-dev \
|
| 11 |
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
|
| 12 |
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev git git-lfs \
|
|
|
|
| 51 |
|
| 52 |
# Checkpoints
|
| 53 |
|
| 54 |
+
|
| 55 |
RUN echo "Downloading checkpoints..."
|
| 56 |
RUN wget -c https://huggingface.co/SG161222/RealVisXL_V4.0_Lightning/resolve/main/RealVisXL_V4.0_Lightning.safetensors -P ./models/checkpoints/
|
| 57 |
RUN wget -c https://huggingface.co/Lykon/dreamshaper-xl-lightning/resolve/main/DreamShaperXL_Lightning.safetensors -P ./models/checkpoints/
|
| 58 |
RUN wget -c https://huggingface.co/Lykon/DreamShaper/resolve/main/DreamShaper_8_pruned.safetensors -P ./models/checkpoints/
|
| 59 |
|
| 60 |
+
RUN echo "Downloading Vae..."
|
| 61 |
|
| 62 |
RUN wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/
|
| 63 |
+
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/taesdxl.safetensors -P ./models/vae/
|
| 64 |
+
|
| 65 |
+
RUN echo "Downloading Controlnet..."
|
| 66 |
+
|
| 67 |
RUN wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors -P ./models/controlnet/
|
| 68 |
RUN wget -c https://huggingface.co/stabilityai/control-lora/resolve/main/control-LoRAs-rank256/control-lora-depth-rank256.safetensors -P ./models/controlnet/
|
| 69 |
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet-sdxl-canny-mid.safetensors -P ./models/controlnet/
|
| 70 |
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet-sdxl-depth-mid.safetensors -P ./models/controlnet/
|
| 71 |
+
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet_scribble_sd15.safetensors -P ./models/controlnet/
|
| 72 |
+
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/control_v11p_sd15s2_lineart_anime.safetensors -P ./models/controlnet/
|
| 73 |
+
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/control_v11p_sd15_lineart.safetensors -P ./models/controlnet/
|
| 74 |
|
| 75 |
RUN echo "Downloading LLavacheckpoints..."
|
| 76 |
|
|
|
|
| 99 |
RUN wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x2.pth -P ./models/upscale_models/
|
| 100 |
RUN wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth -P ./models/upscale_models/
|
| 101 |
|
| 102 |
+
RUN echo "Downloading Lora..."
|
| 103 |
+
|
| 104 |
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/lcm-lora-sdv1-5.safetensors -P ./models/loras/
|
| 105 |
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/lcm-lora-sdxl.safetensors -P ./models/loras/
|
| 106 |
+
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/3DMM_V12_sd15.safetensors -P ./models/loras/
|
| 107 |
+
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/add_detail.safetensors -P ./models/loras/
|
| 108 |
+
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/anime_lineart_lora.safetensors -P ./models/loras/
|
| 109 |
+
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/epi_noiseoffset2_sd15.safetensors -P ./models/loras/
|
| 110 |
+
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/game_bottle_lora.safetensors -P ./models/loras/
|
| 111 |
+
RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/game_sword_lora.safetensors -P ./models/loras/
|
| 112 |
|
| 113 |
RUN echo "Done"
|
| 114 |
|
|
|
|
| 131 |
RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
|
| 132 |
RUN cd custom_nodes && git clone https://github.com/AIrjen/OneButtonPrompt
|
| 133 |
RUN cd custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui && cd was-node-suite-comfyui && pip install -r requirements.txt
|
| 134 |
+
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
|
| 135 |
RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_essentials
|
| 136 |
RUN cd custom_nodes && git clone https://github.com/crystian/ComfyUI-Crystools && cd ComfyUI-Crystools && pip install -r requirements.txt
|
| 137 |
RUN cd custom_nodes && git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
|
|
|
|
|
|
|
| 138 |
RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI_VLM_nodes && cd ComfyUI_VLM_nodes && pip install -r requirements.txt
|
| 139 |
RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfyui_controlnet_aux && cd comfyui_controlnet_aux && pip install -r requirements.txt
|
| 140 |
RUN cd custom_nodes && git clone https://github.com/Stability-AI/stability-ComfyUI-nodes && cd stability-ComfyUI-nodes && pip install -r requirements.txt
|
|
|
|
| 149 |
RUN cd custom_nodes && git clone https://github.com/Gourieff/comfyui-reactor-node && cd comfyui-reactor-node && pip install -r requirements.txt
|
| 150 |
RUN cd custom_nodes && git clone https://github.com/rgthree/rgthree-comfy && cd rgthree-comfy && pip install -r requirements.txt
|
| 151 |
RUN cd custom_nodes && git clone https://github.com/giriss/comfy-image-saver && cd comfy-image-saver && pip install -r requirements.txt
|
| 152 |
+
RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI-Depth-Visualization && cd ComfyUI-Depth-Visualization && pip install -r requirements.txt
|
| 153 |
|
| 154 |
RUN echo "Done"
|
| 155 |
|