kadirnar commited on
Commit
b723249
1 Parent(s): 4dec1c3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +49 -44
Dockerfile CHANGED
@@ -45,62 +45,67 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
45
  # Set the working directory to /data if USE_PERSISTENT_DATA is set, otherwise set to $HOME/app
46
  WORKDIR $HOME/app
47
 
48
- # Copy the current directory contents into the container at $HOME/app setting the owner to the user
49
 
50
  RUN git clone https://github.com/comfyanonymous/ComfyUI . && git checkout c6951548cfec64c28082e6560c69c59e32729c9c && \
51
  pip install xformers!=0.0.24 --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121
52
 
53
  # instal custom nodes
54
  RUN echo "Installing custom nodes..."
55
- RUN pip install -U onnxruntime-gpu
56
-
57
- RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git
58
- RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack && cd ComfyUI-Impact-Pack && python install.py
59
- RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Inspire-Pack && cd ComfyUI-Inspire-Pack && pip install -r requirements.txt
60
- RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation && cd ComfyUI-Frame-Interpolation && python install.py
61
- RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Video-Matting && cd ComfyUI-Video-Matting && pip install -r requirements.txt
62
- RUN cd custom_nodes && git clone https://github.com/BlenderNeko/ComfyUI_Cutoff
63
- RUN cd custom_nodes && git clone https://github.com/WASasquatch/PPF_Noise_ComfyUI && cd PPF_Noise_ComfyUI && pip install -r requirements.txt
64
- RUN cd custom_nodes && git clone https://github.com/WASasquatch/PowerNoiseSuite && cd PowerNoiseSuite && pip install -r requirements.txt
65
- RUN cd custom_nodes && git clone https://github.com/Jordach/comfy-plasma
66
- RUN cd custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
67
- RUN cd custom_nodes && git clone https://github.com/space-nuko/ComfyUI-OpenPose-Editor
68
- RUN cd custom_nodes && git clone https://github.com/twri/sdxl_prompt_styler
69
- RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
70
- RUN cd custom_nodes && git clone https://github.com/AIrjen/OneButtonPrompt
71
- RUN cd custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui && cd was-node-suite-comfyui && pip install -r requirements.txt
72
- RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_essentials
73
- RUN cd custom_nodes && git clone https://github.com/crystian/ComfyUI-Crystools && cd ComfyUI-Crystools && pip install -r requirements.txt
74
- RUN cd custom_nodes && git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
75
- RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI_VLM_nodes && cd ComfyUI_VLM_nodes && pip install -r requirements.txt
76
- RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfyui_controlnet_aux && cd comfyui_controlnet_aux && pip install -r requirements.txt
77
- RUN cd custom_nodes && git clone https://github.com/Stability-AI/stability-ComfyUI-nodes && cd stability-ComfyUI-nodes && pip install -r requirements.txt
78
- RUN cd custom_nodes && git clone https://github.com/jags111/efficiency-nodes-comfyui && cd efficiency-nodes-comfyui && pip install -r requirements.txt
79
- RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite && cd ComfyUI-VideoHelperSuite && pip install -r requirements.txt
80
- RUN cd custom_nodes && git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
81
- RUN cd custom_nodes && git clone https://github.com/WASasquatch/FreeU_Advanced
82
- RUN cd custom_nodes && git clone https://github.com/city96/SD-Advanced-Noise
83
- RUN cd custom_nodes && git clone https://github.com/kadirnar/ComfyUI_Custom_Nodes_AlekPet
84
- RUN cd custom_nodes && git clone https://github.com/sipherxyz/comfyui-art-venture && cd comfyui-art-venture && pip install -r requirements.txt
85
- RUN cd custom_nodes && git clone https://github.com/evanspearman/ComfyMath && cd ComfyMath && pip install -r requirements.txt
86
- RUN cd custom_nodes && git clone https://github.com/Gourieff/comfyui-reactor-node && cd comfyui-reactor-node && pip install -r requirements.txt
87
- RUN cd custom_nodes && git clone https://github.com/rgthree/rgthree-comfy && cd rgthree-comfy && pip install -r requirements.txt
88
- RUN cd custom_nodes && git clone https://github.com/giriss/comfy-image-saver && cd comfy-image-saver && pip install -r requirements.txt
89
- RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI-Depth-Visualization && cd ComfyUI-Depth-Visualization && pip install -r requirements.txt
90
- RUN cd custom_nodes && git clone https://github.com/kohya-ss/ControlNet-LLLite-ComfyUI
91
- RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI-Dream-Interpreter && cd ComfyUI-Dream-Interpreter && pip install -r requirements.txt
92
- RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus
93
- RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet && cd ComfyUI-Advanced-ControlNet && pip install -r requirements.txt
 
94
  RUN cd custom_nodes && git clone https://github.com/MrForExample/ComfyUI-3D-Pack && cd ComfyUI-3D-Pack && pip install -r requirements.txt
95
 
96
- RUN pip install kiui[full]
97
- # local
 
 
 
98
  RUN pip install ./tgs/models/snowflake/pointnet2_ops_lib
99
  RUN pip install ./simple-knn
 
100
 
101
- # remote
102
- RUN pip install git+https://github.com/ashawkey/diff-gaussian-rasterization git+https://github.com/NVlabs/nvdiffrast/ git+https://github.com/facebookresearch/pytorch3d.git@stable git+https://github.com/rusty1s/pytorch_scatter.git git+https://github.com/tatsy/torchmcubes.git
103
 
 
104
 
105
 
106
  # RUN echo "Downloading checkpoints..."
 
45
  # Set the working directory to /data if USE_PERSISTENT_DATA is set, otherwise set to $HOME/app
46
  WORKDIR $HOME/app
47
 
 
48
 
49
  RUN git clone https://github.com/comfyanonymous/ComfyUI . && git checkout c6951548cfec64c28082e6560c69c59e32729c9c && \
50
  pip install xformers!=0.0.24 --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
+
57
+ # RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git
58
+ # RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack && cd ComfyUI-Impact-Pack && python install.py
59
+ # RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Inspire-Pack && cd ComfyUI-Inspire-Pack && pip install -r requirements.txt
60
+ # RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Frame-Interpolation && cd ComfyUI-Frame-Interpolation && python install.py
61
+ # RUN cd custom_nodes && git clone https://github.com/Fannovel16/ComfyUI-Video-Matting && cd ComfyUI-Video-Matting && pip install -r requirements.txt
62
+ # RUN cd custom_nodes && git clone https://github.com/BlenderNeko/ComfyUI_Cutoff
63
+ # RUN cd custom_nodes && git clone https://github.com/WASasquatch/PPF_Noise_ComfyUI && cd PPF_Noise_ComfyUI && pip install -r requirements.txt
64
+ # RUN cd custom_nodes && git clone https://github.com/WASasquatch/PowerNoiseSuite && cd PowerNoiseSuite && pip install -r requirements.txt
65
+ # RUN cd custom_nodes && git clone https://github.com/Jordach/comfy-plasma
66
+ # RUN cd custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
67
+ # RUN cd custom_nodes && git clone https://github.com/space-nuko/ComfyUI-OpenPose-Editor
68
+ # RUN cd custom_nodes && git clone https://github.com/twri/sdxl_prompt_styler
69
+ # RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
70
+ # RUN cd custom_nodes && git clone https://github.com/AIrjen/OneButtonPrompt
71
+ # RUN cd custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui && cd was-node-suite-comfyui && pip install -r requirements.txt
72
+ # RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_essentials
73
+ # RUN cd custom_nodes && git clone https://github.com/crystian/ComfyUI-Crystools && cd ComfyUI-Crystools && pip install -r requirements.txt
74
+ # RUN cd custom_nodes && git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
75
+ # RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI_VLM_nodes && cd ComfyUI_VLM_nodes && pip install -r requirements.txt
76
+ # RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfyui_controlnet_aux && cd comfyui_controlnet_aux && pip install -r requirements.txt
77
+ # RUN cd custom_nodes && git clone https://github.com/Stability-AI/stability-ComfyUI-nodes && cd stability-ComfyUI-nodes && pip install -r requirements.txt
78
+ # RUN cd custom_nodes && git clone https://github.com/jags111/efficiency-nodes-comfyui && cd efficiency-nodes-comfyui && pip install -r requirements.txt
79
+ # RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite && cd ComfyUI-VideoHelperSuite && pip install -r requirements.txt
80
+ # RUN cd custom_nodes && git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
81
+ # RUN cd custom_nodes && git clone https://github.com/WASasquatch/FreeU_Advanced
82
+ # RUN cd custom_nodes && git clone https://github.com/city96/SD-Advanced-Noise
83
+ # RUN cd custom_nodes && git clone https://github.com/kadirnar/ComfyUI_Custom_Nodes_AlekPet
84
+ # RUN cd custom_nodes && git clone https://github.com/sipherxyz/comfyui-art-venture && cd comfyui-art-venture && pip install -r requirements.txt
85
+ # RUN cd custom_nodes && git clone https://github.com/evanspearman/ComfyMath && cd ComfyMath && pip install -r requirements.txt
86
+ # RUN cd custom_nodes && git clone https://github.com/Gourieff/comfyui-reactor-node && cd comfyui-reactor-node && pip install -r requirements.txt
87
+ # RUN cd custom_nodes && git clone https://github.com/rgthree/rgthree-comfy && cd rgthree-comfy && pip install -r requirements.txt
88
+ # RUN cd custom_nodes && git clone https://github.com/giriss/comfy-image-saver && cd comfy-image-saver && pip install -r requirements.txt
89
+ # RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI-Depth-Visualization && cd ComfyUI-Depth-Visualization && pip install -r requirements.txt
90
+ # RUN cd custom_nodes && git clone https://github.com/kohya-ss/ControlNet-LLLite-ComfyUI
91
+ # RUN cd custom_nodes && git clone https://github.com/gokayfem/ComfyUI-Dream-Interpreter && cd ComfyUI-Dream-Interpreter && pip install -r requirements.txt
92
+ # RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus
93
+ # RUN cd custom_nodes && git clone https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet && cd ComfyUI-Advanced-ControlNet && pip install -r requirements.txt
94
  RUN cd custom_nodes && git clone https://github.com/MrForExample/ComfyUI-3D-Pack && cd ComfyUI-3D-Pack && pip install -r requirements.txt
95
 
96
+ # Update: Copy local directories into the Docker image
97
+ COPY ./tgs/models/snowflake/pointnet2_ops_lib /home/user/app/tgs/models/snowflake/pointnet2_ops_lib
98
+ COPY ./simple-knn /home/user/app/simple-knn
99
+
100
+ # Installation commands for local directories
101
  RUN pip install ./tgs/models/snowflake/pointnet2_ops_lib
102
  RUN pip install ./simple-knn
103
+ # Copy the current directory contents into the container at $HOME/app setting the owner to the user
104
 
105
+ # remote dependencies
106
+ RUN pip install -U kiui[full]
107
 
108
+ RUN pip install git+https://github.com/ashawkey/diff-gaussian-rasterization git+https://github.com/NVlabs/nvdiffrast/ git+https://github.com/facebookresearch/pytorch3d.git@stable git+https://github.com/rusty1s/pytorch_scatter.git git+https://github.com/tatsy/torchmcubes.git
109
 
110
 
111
  # RUN echo "Downloading checkpoints..."