wrdias commited on
Commit
8b8e09f
·
1 Parent(s): e932444

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -99
Dockerfile CHANGED
@@ -51,112 +51,30 @@ RUN git clone https://github.com/comfyanonymous/ComfyUI.git . && \
51
  pip install --no-cache-dir -r requirements.txt
52
 
53
  # Checkpoints
54
- RUN echo "Downloading checkpoints..." && \
55
- # Kybalico Models
56
- #wget -c https://huggingface.co/Kybalico/CandyApple/resolve/main/candyApple_v12.safetensors -P ./models/checkpoints/ && \
57
- #wget -c https://huggingface.co/Kybalico/CalicoMix/resolve/main/calicoMix_v75.safetensors -P ./models/checkpoints/ && \
58
- #wget -c https://huggingface.co/Kybalico/CalicoMixDC/resolve/main/calicomix_dcV30.safetensors -P ./models/checkpoints/ && \
59
- #wget -c https://huggingface.co/Kybalico/AnmitsuMimimi/resolve/main/anmitsuMimimi_v10.safetensors -P ./models/checkpoints/ && \
60
-
61
- # SD1.5
62
- #wget -c https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt -P ./models/checkpoints/ && \
63
- #wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors -P ./models/checkpoints/ && \
64
- #wget -c https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors -P ./models/checkpoints/ && \
65
-
66
- # SD2
67
- #wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1-base/resolve/main/v2-1_512-ema-pruned.safetensors -P ./models/checkpoints/ && \
68
- #wget -c https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.safetensors -P ./models/checkpoints/ && \
69
-
70
- # Some SD1.5 anime style
71
- #wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors -P ./models/checkpoints/ && \
72
- #wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1_orangemixs.safetensors -P ./models/checkpoints/ && \
73
- #wget -c https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A3_orangemixs.safetensors -P ./models/checkpoints/ && \
74
- #wget -c https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/anything-v3-fp16-pruned.safetensors -P ./models/checkpoints/ && \
75
-
76
- # Waifu Diffusion 1.5 (anime style SD2.x 768-v)
77
- #wget -c https://huggingface.co/waifu-diffusion/wd-1-5-beta2/resolve/main/checkpoints/wd-1-5-beta2-fp16.safetensors -P ./models/checkpoints/ && \
78
-
79
-
80
- # unCLIP models
81
- #wget -c https://huggingface.co/comfyanonymous/illuminatiDiffusionV1_v11_unCLIP/resolve/main/illuminatiDiffusionV1_v11-unclip-h-fp16.safetensors -P ./models/checkpoints/ && \
82
- #wget -c https://huggingface.co/comfyanonymous/wd-1.5-beta2_unCLIP/resolve/main/wd-1-5-beta2-aesthetic-unclip-h-fp16.safetensors -P ./models/checkpoints/ && \
83
-
84
- # TechnoByte Models
85
- #wget -c https://huggingface.co/TechnoByte/MilkyWonderland/resolve/main/milkyWonderland_v20.safetensors -P ./models/checkpoints/ && \
86
-
87
- # VAE
88
- #wget -c https://huggingface.co/RedRayz/MyVAE/resolve/main/CleanVAE.safetensors -P ./models/vae/ && \
89
- #wget -c https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -P ./models/vae/ && \
90
- #wget -c https://huggingface.co/tuwonga/marblesh/resolve/main/marblesh.safetensors -P ./models/vae/ && \
91
- #wget -c https://huggingface.co/SimianLuo/LCM_Dreamshaper_v7/blob/main/LCM_Dreamshaper_v7_4k.safetensors -P ./models/vae/ && \
92
-
93
- # ControlNet
94
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -P ./models/controlnet/ && \
95
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors -P ./models/controlnet/ && \
96
- #wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors -P ./models/controlnet/ && \
97
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -P ./models/controlnet/ && \
98
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -P ./models/controlnet/ && \
99
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -P ./models/controlnet/ && \
100
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -P ./models/controlnet/ && \
101
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -P ./models/controlnet/ && \
102
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -P ./models/controlnet/ && \
103
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -P ./models/controlnet/ && \
104
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_seg_fp16.safetensors -P ./models/controlnet/ && \
105
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -P ./models/controlnet/ && \
106
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -P ./models/controlnet/ && \
107
- # wget -c https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11u_sd15_tile_fp16.safetensors -P ./models/controlnet/ && \
108
-
109
- # # GLIGEN
110
- # wget -c https://huggingface.co/comfyanonymous/GLIGEN_pruned_safetensors/resolve/main/gligen_sd14_textbox_pruned_fp16.safetensors -P ./models/gligen/ && \
111
-
112
- # # ESRGAN upscale model
113
- # wget -c https://huggingface.co/konohashinobi4/4xAnimesharp/resolve/main/4x-AnimeSharp.pth -P ./models/upscale_models/ && \
114
- # wget -c https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth -P ./models/upscale_models/ && \
115
- # wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x2.pth -P ./models/upscale_models/ && \
116
- # wget -c https://huggingface.co/sberbank-ai/Real-ESRGAN/resolve/main/RealESRGAN_x4.pth -P ./models/upscale_models/ && \
117
-
118
- # motion_lora
119
- # wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_PanLeft.ckpt -P ./models/motion_lora/ && \
120
- # wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_PanRight.ckpt -P ./models/motion_lora/ && \
121
- # wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_RollingAnticlockwise.ckpt -P ./models/motion_lora/ && \
122
- # wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_RollingClockwise.ckpt -P ./models/motion_lora/ && \
123
- # wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_TiltDown.ckpt -P ./models/motion_lora/ && \
124
- # wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_TiltUp.ckpt -P ./models/motion_lora/ && \
125
- # wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_ZoomIn.ckpt -P ./models/motion_lora/ && \
126
- # wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_ZoomOut.ckpt -P ./models/motion_lora/ && \
127
-
128
-
129
- # loras
130
- #wget -c https://huggingface.co/stabilityai/control-lora/blob/main/control-LoRAs-rank256/control-lora-canny-rank256.safetensors -P ./models/loras/ && \
131
-
132
- # # Aesthetic scorer models
133
- # mkdir ./models/aesthetic && \
134
- # wget -c https://github.com/grexzen/SD-Chad/raw/main/chadscorer.pth -P ./models/aesthetic/ && \
135
- # wget -c https://github.com/christophschuhmann/improved-aesthetic-predictor/raw/main/ava+logos-l14-linearMSE.pth -P ./models/aesthetic/
136
 
137
- echo "Installing custom nodes..."
138
 
139
  # ComfyUI Manager
140
  RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git && \
141
 
142
- # pip install insightface && \
143
- # git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite && \
144
- # git clone https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet && \
145
  # git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack && \
146
  # pip install basicsr && \
147
- # git clone https://github.com/Gourieff/comfyui-reactor-node && \
148
- # git clone https://github.com/FizzleDorf/ComfyUI_FizzNodes && \
149
  # git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive && \
150
- # git clone https://github.com/BlenderNeko/ComfyUI_TiledKSampler.git && \
151
- # git clone https://github.com/BlenderNeko/ComfyUI_SeeCoder.git && \
152
  # pip install lpips && \
153
- # git clone https://github.com/mav-rik/facerestore_cf.git && \
154
- # git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus.git && \
155
- # git clone https://github.com/SLAPaper/ComfyUI-Image-Selector.git && \
156
- # git clone https://github.com/Derfuu/Derfuu_ComfyUI_ModdedNodes.git && \
157
- # git clone https://github.com/jags111/efficiency-nodes-comfyui.git && \
158
- # git clone https://github.com/JPS-GER/ComfyUI_JPS-Nodes.git && \
159
- # git clone https://github.com/Fannovel16/comfyui_controlnet_aux && \
160
 
161
  # Install custom nodes
162
  echo "Installing custom nodes..."
@@ -169,7 +87,7 @@ RUN echo "Downloading checkpoints..." && \
169
  # RUN cd custom_nodes && git clone https://github.com/TinyTerra/ComfyUI_tinyterraNodes --depth 1
170
  # RUN cd custom_nodes && git clone https://github.com/TechnoByteJS/comfy-aesthetic-nodes --depth 1 && cd comfy-aesthetic-nodes && pip install -r requirements.txt
171
 
172
- # RUN cd custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui.git --depth 1 && cd was-node-suite-comfyui && pip install -r requirements.txt
173
 
174
  # RUN cd custom_nodes && git clone https://github.com/0xbitches/ComfyUI-LCM.git --depth 1
175
  # RUN cd custom_nodes && echo "#Plz don't delete this file, just edit it when neccessary." > ComfyUI-LCM/config.yaml
@@ -182,7 +100,7 @@ RUN echo "Downloading checkpoints..." && \
182
 
183
  # RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation.git --depth 1 && cd ComfyUI-Frame-Interpolation && python install.py
184
 
185
- # RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
186
 
187
  #RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/mm_sd_v15_v2.ckpt -P ./ComfyUI-AnimateDiff-Evolved/models/
188
  #RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/mm_sd_v15.ckpt -P ./ComfyUI-AnimateDiff-Evolved/models/
 
51
  pip install --no-cache-dir -r requirements.txt
52
 
53
  # Checkpoints
54
+ RUN echo "Downloading checkpoints..."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
 
56
+ RUN echo "Installing custom nodes..."
57
 
58
  # ComfyUI Manager
59
  RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git && \
60
 
61
+ git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite && \
62
+ git clone https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet && \
 
63
  # git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack && \
64
  # pip install basicsr && \
65
+ git clone https://github.com/Gourieff/comfyui-reactor-node && \
66
+ git clone https://github.com/FizzleDorf/ComfyUI_FizzNodes && \
67
  # git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive && \
68
+ # git clone https://github.com/BlenderNeko/ComfyUI_TiledKSampler && \
69
+ # git clone https://github.com/BlenderNeko/ComfyUI_SeeCoder && \
70
  # pip install lpips && \
71
+ git clone https://github.com/mav-rik/facerestore_cf && \
72
+ git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus && \
73
+ # git clone https://github.com/SLAPaper/ComfyUI-Image-Selector && \
74
+ # git clone https://github.com/Derfuu/Derfuu_ComfyUI_ModdedNodes && \
75
+ # git clone https://github.com/jags111/efficiency-nodes-comfyui && \
76
+ # git clone https://github.com/JPS-GER/ComfyUI_JPS-Nodes && \
77
+ git clone https://github.com/Fannovel16/comfyui_controlnet_aux && \
78
 
79
  # Install custom nodes
80
  echo "Installing custom nodes..."
 
87
  # RUN cd custom_nodes && git clone https://github.com/TinyTerra/ComfyUI_tinyterraNodes --depth 1
88
  # RUN cd custom_nodes && git clone https://github.com/TechnoByteJS/comfy-aesthetic-nodes --depth 1 && cd comfy-aesthetic-nodes && pip install -r requirements.txt
89
 
90
+ RUN cd custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui.git --depth 1 && cd was-node-suite-comfyui && pip install -r requirements.txt
91
 
92
  # RUN cd custom_nodes && git clone https://github.com/0xbitches/ComfyUI-LCM.git --depth 1
93
  # RUN cd custom_nodes && echo "#Plz don't delete this file, just edit it when neccessary." > ComfyUI-LCM/config.yaml
 
100
 
101
  # RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation.git --depth 1 && cd ComfyUI-Frame-Interpolation && python install.py
102
 
103
+ RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
104
 
105
  #RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/mm_sd_v15_v2.ckpt -P ./ComfyUI-AnimateDiff-Evolved/models/
106
  #RUN cd custom_nodes && wget -c https://huggingface.co/guoyww/animatediff/resolve/main/mm_sd_v15.ckpt -P ./ComfyUI-AnimateDiff-Evolved/models/