Defter77 commited on
Commit
c876c0d
·
verified ·
1 Parent(s): c076b60

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -13
Dockerfile CHANGED
@@ -15,19 +15,19 @@ RUN apt-get update && apt-get install -y \
15
  # Create app directory
16
  WORKDIR /app
17
 
18
- # Clone ComfyUI core
19
- RUN git clone https://github.com/comfyanonymous/ComfyUI.git
20
-
21
- # Clone custom nodes
22
- RUN git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus /app/ComfyUI/custom_nodes/IPAdapter_plus && \
23
- git clone https://github.com/Kosinkadink/ComfyUI-KJNodes /app/ComfyUI/custom_nodes/KJNodes && \
24
- git clone https://github.com/SSitu/ComfyUI_UltimateSDUpscale /app/ComfyUI/custom_nodes/UltimateSDUpscale && \
25
- git clone https://github.com/ltdrdata/PuLID_ComfyUI /app/ComfyUI/custom_nodes/PuLID && \
26
- git clone https://github.com/cg196/ComfyUI-UseEverywhere /app/ComfyUI/custom_nodes/UseEverywhere && \
27
- git clone https://github.com/melMass/comfy-mtb /app/ComfyUI/custom_nodes/mtb && \
28
- git clone https://github.com/LucianoCirino/ComfyUI_Masquerade /app/ComfyUI/custom_nodes/Masquerade && \
29
- git clone https://github.com/Fannovel16/comfyui-save-image-with-geninfo /app/ComfyUI/custom_nodes/SaveGenInfo && \
30
- git clone https://github.com/jamesWalker55/comfyui-various /app/ComfyUI/custom_nodes/Various
31
 
32
  # Create necessary directories
33
  RUN mkdir -p /app/ComfyUI/models/checkpoints \
 
15
  # Create app directory
16
  WORKDIR /app
17
 
18
+ # Clone ComfyUI core with shallow clone
19
+ RUN git clone --depth 1 https://github.com/comfyanonymous/ComfyUI.git
20
+
21
+ # Clone custom nodes with shallow cloning to reduce download size and avoid rate limits
22
+ RUN git clone --depth 1 https://github.com/cubiq/ComfyUI_IPAdapter_plus.git /app/ComfyUI/custom_nodes/IPAdapter_plus || echo "Failed to clone IPAdapter_plus but continuing" && \
23
+ git clone --depth 1 https://github.com/Kosinkadink/ComfyUI-KJNodes.git /app/ComfyUI/custom_nodes/KJNodes || echo "Failed to clone KJNodes but continuing" && \
24
+ git clone --depth 1 https://github.com/SSitu/ComfyUI_UltimateSDUpscale.git /app/ComfyUI/custom_nodes/UltimateSDUpscale || echo "Failed to clone UltimateSDUpscale but continuing" && \
25
+ git clone --depth 1 https://github.com/ltdrdata/PuLID_ComfyUI.git /app/ComfyUI/custom_nodes/PuLID || echo "Failed to clone PuLID but continuing" && \
26
+ git clone --depth 1 https://github.com/cg196/ComfyUI-UseEverywhere.git /app/ComfyUI/custom_nodes/UseEverywhere || echo "Failed to clone UseEverywhere but continuing" && \
27
+ git clone --depth 1 https://github.com/melMass/comfy-mtb.git /app/ComfyUI/custom_nodes/mtb || echo "Failed to clone mtb but continuing" && \
28
+ git clone --depth 1 https://github.com/LucianoCirino/ComfyUI_Masquerade.git /app/ComfyUI/custom_nodes/Masquerade || echo "Failed to clone Masquerade but continuing" && \
29
+ git clone --depth 1 https://github.com/Fannovel16/comfyui-save-image-with-geninfo.git /app/ComfyUI/custom_nodes/SaveGenInfo || echo "Failed to clone SaveGenInfo but continuing" && \
30
+ git clone --depth 1 https://github.com/jamesWalker55/comfyui-various.git /app/ComfyUI/custom_nodes/Various || echo "Failed to clone Various but continuing"
31
 
32
  # Create necessary directories
33
  RUN mkdir -p /app/ComfyUI/models/checkpoints \