kadirnar commited on
Commit
b5c463e
1 Parent(s): 035efd8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +56 -44
Dockerfile CHANGED
@@ -49,9 +49,50 @@ WORKDIR $HOME/app
49
  RUN git clone https://github.com/comfyanonymous/ComfyUI . && git checkout c6951548cfec64c28082e6560c69c59e32729c9c && \
50
  pip install xformers!=0.0.18 --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121
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/
@@ -71,6 +112,19 @@ RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet-sdx
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
 
@@ -79,7 +133,6 @@ RUN wget -c https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/resolve/main
79
  RUN wget -c https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/resolve/main/mmproj-model-f16.gguf -P ./models/LLavacheckpoints/
80
 
81
  RUN echo "Downloading IPAdapter Plus..."
82
- RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus
83
  RUN wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter-plus-face_sdxl_vit-h.safetensors -P ./custom_nodes/ComfyUI_IPAdapter_plus/models/
84
  RUN wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter-plus_sdxl_vit-h.safetensors -P ./custom_nodes/ComfyUI_IPAdapter_plus/models/
85
  RUN wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-plus-face_sd15.safetensors -P ./custom_nodes/ComfyUI_IPAdapter_plus/models/
@@ -112,45 +165,4 @@ RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/game_sword_lor
112
 
113
  RUN echo "Done"
114
 
115
- # instal custom nodes
116
- RUN echo "Installing custom nodes..."
117
- RUN pip install -U onnxruntime-gpu
118
-
119
- RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git
120
- RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack && cd ComfyUI-Impact-Pack && python install.py
121
- RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Inspire-Pack && cd ComfyUI-Inspire-Pack && pip install -r requirements.txt
122
- RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation && cd ComfyUI-Frame-Interpolation && python install.py
123
- RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Video-Matting && cd ComfyUI-Video-Matting && pip install -r requirements.txt
124
- RUN cd custom_nodes && git clone https://github.com/BlenderNeko/ComfyUI_Cutoff
125
- RUN cd custom_nodes && git clone https://github.com/WASasquatch/PPF_Noise_ComfyUI && cd PPF_Noise_ComfyUI && pip install -r requirements.txt
126
- RUN cd custom_nodes && git clone https://github.com/WASasquatch/PowerNoiseSuite && cd PowerNoiseSuite && pip install -r requirements.txt
127
- RUN cd custom_nodes && git clone https://github.com/Jordach/comfy-plasma
128
- RUN cd custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
129
- RUN cd custom_nodes && git clone https://github.com/space-nuko/ComfyUI-OpenPose-Editor
130
- RUN cd custom_nodes && git clone https://github.com/twri/sdxl_prompt_styler
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
141
- RUN cd custom_nodes && git clone https://github.com/jags111/efficiency-nodes-comfyui && cd efficiency-nodes-comfyui && pip install -r requirements.txt
142
- RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite && cd ComfyUI-VideoHelperSuite && pip install -r requirements.txt
143
- RUN cd custom_nodes && git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
144
- RUN cd custom_nodes && git clone https://github.com/WASasquatch/FreeU_Advanced
145
- RUN cd custom_nodes && git clone https://github.com/city96/SD-Advanced-Noise
146
- RUN cd custom_nodes && git clone https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet
147
- RUN cd custom_nodes && git clone https://github.com/sipherxyz/comfyui-art-venture && cd comfyui-art-venture && pip install -r requirements.txt
148
- RUN cd custom_nodes && git clone https://github.com/evanspearman/ComfyMath && cd ComfyMath && 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
-
156
- CMD ["python", "main.py", "--listen", "0.0.0.0", "--port", "7860", "--output-directory", "${USE_PERSISTENT_DATA:+/data/}"]
 
49
  RUN git clone https://github.com/comfyanonymous/ComfyUI . && git checkout c6951548cfec64c28082e6560c69c59e32729c9c && \
50
  pip install xformers!=0.0.18 --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121
51
 
52
+ # instal custom nodes
53
+ RUN echo "Installing custom nodes..."
54
+ RUN pip install -U onnxruntime-gpu
55
 
56
+ RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git
57
+ RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack && cd ComfyUI-Impact-Pack && python install.py
58
+ RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Inspire-Pack && cd ComfyUI-Inspire-Pack && pip install -r requirements.txt
59
+ RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation && cd ComfyUI-Frame-Interpolation && python install.py
60
+ RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Video-Matting && cd ComfyUI-Video-Matting && pip install -r requirements.txt
61
+ RUN cd custom_nodes && git clone https://github.com/BlenderNeko/ComfyUI_Cutoff
62
+ RUN cd custom_nodes && git clone https://github.com/WASasquatch/PPF_Noise_ComfyUI && cd PPF_Noise_ComfyUI && pip install -r requirements.txt
63
+ RUN cd custom_nodes && git clone https://github.com/WASasquatch/PowerNoiseSuite && cd PowerNoiseSuite && pip install -r requirements.txt
64
+ RUN cd custom_nodes && git clone https://github.com/Jordach/comfy-plasma
65
+ RUN cd custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
66
+ RUN cd custom_nodes && git clone https://github.com/space-nuko/ComfyUI-OpenPose-Editor
67
+ RUN cd custom_nodes && git clone https://github.com/twri/sdxl_prompt_styler
68
+ RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
69
+ RUN cd custom_nodes && git clone https://github.com/AIrjen/OneButtonPrompt
70
+ RUN cd custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui && cd was-node-suite-comfyui && pip install -r requirements.txt
71
+ RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_essentials
72
+ RUN cd custom_nodes && git clone https://github.com/crystian/ComfyUI-Crystools && cd ComfyUI-Crystools && pip install -r requirements.txt
73
+ RUN cd custom_nodes && git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
74
+ RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
75
+
76
+ # RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI_VLM_nodes && cd ComfyUI_VLM_nodes && pip install -r requirements.txt
77
+ RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfyui_controlnet_aux && cd comfyui_controlnet_aux && pip install -r requirements.txt
78
+ RUN cd custom_nodes && git clone https://github.com/Stability-AI/stability-ComfyUI-nodes && cd stability-ComfyUI-nodes && pip install -r requirements.txt
79
+ RUN cd custom_nodes && git clone https://github.com/jags111/efficiency-nodes-comfyui && cd efficiency-nodes-comfyui && pip install -r requirements.txt
80
+ RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite && cd ComfyUI-VideoHelperSuite && pip install -r requirements.txt
81
+ RUN cd custom_nodes && git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
82
+ RUN cd custom_nodes && git clone https://github.com/WASasquatch/FreeU_Advanced
83
+ RUN cd custom_nodes && git clone https://github.com/city96/SD-Advanced-Noise
84
+ RUN cd custom_nodes && git clone https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet
85
+ RUN cd custom_nodes && git clone https://github.com/sipherxyz/comfyui-art-venture && cd comfyui-art-venture && pip install -r requirements.txt
86
+ RUN cd custom_nodes && git clone https://github.com/evanspearman/ComfyMath && cd ComfyMath && pip install -r requirements.txt
87
+ RUN cd custom_nodes && git clone https://github.com/Gourieff/comfyui-reactor-node && cd comfyui-reactor-node && pip install -r requirements.txt
88
+ RUN cd custom_nodes && git clone https://github.com/rgthree/rgthree-comfy && cd rgthree-comfy && pip install -r requirements.txt
89
+ RUN cd custom_nodes && git clone https://github.com/giriss/comfy-image-saver && cd comfy-image-saver && pip install -r requirements.txt
90
+ RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI-Depth-Visualization && cd ComfyUI-Depth-Visualization && pip install -r requirements.txt
91
+ RUN cd custom_nodes && git clone https://github.com/kohya-ss/ControlNet-LLLite-ComfyUI
92
+ RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI-Dream-Interpreter && cd ComfyUI-Dream-Interpreter && pip install -r requirements.txt
93
+ RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus
94
 
95
+ # Checkpoints
96
  RUN echo "Downloading checkpoints..."
97
  RUN wget -c https://huggingface.co/SG161222/RealVisXL_V4.0_Lightning/resolve/main/RealVisXL_V4.0_Lightning.safetensors -P ./models/checkpoints/
98
  RUN wget -c https://huggingface.co/Lykon/dreamshaper-xl-lightning/resolve/main/DreamShaperXL_Lightning.safetensors -P ./models/checkpoints/
 
112
  RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet_scribble_sd15.safetensors -P ./models/controlnet/
113
  RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/control_v11p_sd15s2_lineart_anime.safetensors -P ./models/controlnet/
114
  RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/control_v11p_sd15_lineart.safetensors -P ./models/controlnet/
115
+ RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/control_v11p_sd15_canny_fp16.safetensors -P ./models/controlnet/
116
+ RUN wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/controlnet_depth_sd15.safetensors -P ./models/controlnet/
117
+ RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_scribble_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
118
+ RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_blur.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
119
+ RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_blur_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
120
+ RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_blur_anime_beta.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
121
+ RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_canny.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
122
+ RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_canny_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
123
+ RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_depth.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
124
+ RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_depth_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
125
+ RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_openpose_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
126
+ RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_openpose_anime_v2.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
127
+ RUN wget -c https://huggingface.co/lllyasviel/sd_control_collection/resolve/main/kohya_controllllite_xl_scribble_anime.safetensors -P ./custom_nodes/ControlNet-LLLite-ComfyUI/models
128
 
129
  RUN echo "Downloading LLavacheckpoints..."
130
 
 
133
  RUN wget -c https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/resolve/main/mmproj-model-f16.gguf -P ./models/LLavacheckpoints/
134
 
135
  RUN echo "Downloading IPAdapter Plus..."
 
136
  RUN wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter-plus-face_sdxl_vit-h.safetensors -P ./custom_nodes/ComfyUI_IPAdapter_plus/models/
137
  RUN wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter-plus_sdxl_vit-h.safetensors -P ./custom_nodes/ComfyUI_IPAdapter_plus/models/
138
  RUN wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-plus-face_sd15.safetensors -P ./custom_nodes/ComfyUI_IPAdapter_plus/models/
 
165
 
166
  RUN echo "Done"
167
 
168
+ CMD ["python", "main.py", "--listen", "0.0.0.0", "--port", "7860", "--output-directory", "${USE_PERSISTENT_DATA:+/data/}"]