Nima nazari commited on
Commit
89b9fe1
·
verified ·
1 Parent(s): 75ef8ab

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +49 -49
Dockerfile CHANGED
@@ -31,61 +31,61 @@ ENV VIRTUAL_ENV=$HOME/venv
31
  ENV PATH="$VIRTUAL_ENV/bin:$PATH"
32
 
33
  # Install Python packages
34
- RUN pip install --no-cache-dir --upgrade pip setuptools wheel
35
- RUN pip install --no-cache-dir \
36
  datasets \
37
  huggingface-hub "protobuf<4" "click<8.1"
38
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
39
 
40
  # Set the working directory to /data if USE_PERSISTENT_DATA is set, otherwise set to $HOME/app
41
  WORKDIR $HOME/app
42
 
43
- # Copy the current directory contents into the container at $HOME/app setting the owner to the user
44
-
45
- RUN git clone https://github.com/comfyanonymous/ComfyUI .
46
- RUN pip install --no-cache-dir -r requirements.txt
47
- RUN pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
48
- RUN pip install open-clip-torch
49
- RUN pip install segment_anything
50
- RUN pip install matplotlib
51
- RUN pip install opencv-python
52
- RUN pip install addict
53
- RUN pip install yapf
54
- RUN pip install timm
55
- RUN pip install numba
56
- RUN pip install PyGithub
57
- RUN pip install matrix-client==0.4.0
58
- RUN pip install scikit-learn
59
- RUN pip install transformers
60
- RUN pip install numpy
61
- RUN pip install requests
62
- RUN pip install pillow
63
- RUN pip install gradio
64
-
65
- # Checkpoints
66
- RUN echo "Downloading checkpoints..."
67
- RUN wget -c "https://models-online-persist.shakker.ai/web/model/036c4f69b4b94e0b87160f469655f4be/caa95002a1c17218748a33473edcf29aac44653946baef832137aa50c398cced.safetensors?attname=epiCRealism_pure%20Evolution%20V5-inpainting.safetensors" -P ./models/checkpoints/
68
- RUN wget -c https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth -P ./models/sams/
69
-
70
- RUN git lfs install \
71
- && git clone https://huggingface.co/latent-consistency/lcm-lora-sdv1-5 \
72
- && mv lcm-lora-sdv1-5/* ./models/loras/ \
73
- && rm -rf lcm-lora-sdv1-5
74
-
75
- RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack.git
76
- RUN cd custom_nodes && git clone https://github.com/BadCafeCode/masquerade-nodes-comfyui.git
77
- RUN cd custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git
78
- RUN cd custom_nodes && git clone https://github.com/theUpsider/ComfyUI-Logic.git
79
- RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_essentials.git
80
- RUN cd custom_nodes && git clone https://github.com/kijai/ComfyUI-KJNodes.git
81
- RUN cd custom_nodes && git clone https://github.com/storyicon/comfyui_segment_anything.git
82
- RUN cd custom_nodes && git clone https://github.com/edenartlab/eden_comfy_pipelines.git
83
- RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git
84
- RUN cd custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui.git
85
- RUN cd custom_nodes && git clone https://github.com/talesofai/comfyui-browser.git
86
-
87
- RUN echo "Done"
88
- RUN pwd && ls -la
89
 
90
 
91
  RUN wget -O app.py "https://drive.usercontent.google.com/download?id=1QR8A1IuqoYiiA6HMwHDUJPSeyjunEWlK&export=download&authuser=0&confirm=t&uuid=0d0fb84c-2c0c-4e37-96a0-24f74f67dd42&at=APZUnTV2uNiRWYiczKu3Hpi--KyS%3A1718133341427"
 
31
  ENV PATH="$VIRTUAL_ENV/bin:$PATH"
32
 
33
  # Install Python packages
34
+ RUN pip install --upgrade pip setuptools wheel
35
+ RUN pip install \
36
  datasets \
37
  huggingface-hub "protobuf<4" "click<8.1"
38
+ RUN pip install --upgrade -r /code/requirements.txt
39
 
40
  # Set the working directory to /data if USE_PERSISTENT_DATA is set, otherwise set to $HOME/app
41
  WORKDIR $HOME/app
42
 
43
+ # # Copy the current directory contents into the container at $HOME/app setting the owner to the user
44
+
45
+ # RUN git clone https://github.com/comfyanonymous/ComfyUI .
46
+ # RUN pip install -r requirements.txt
47
+ # RUN pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
48
+ # RUN pip install open-clip-torch
49
+ # RUN pip install segment_anything
50
+ # RUN pip install matplotlib
51
+ # RUN pip install opencv-python
52
+ # RUN pip install addict
53
+ # RUN pip install yapf
54
+ # RUN pip install timm
55
+ # RUN pip install numba
56
+ # RUN pip install PyGithub
57
+ # RUN pip install matrix-client==0.4.0
58
+ # RUN pip install scikit-learn
59
+ # RUN pip install transformers
60
+ # RUN pip install numpy
61
+ # RUN pip install requests
62
+ # RUN pip install pillow
63
+ # RUN pip install gradio
64
+
65
+ # # Checkpoints
66
+ # RUN echo "Downloading checkpoints..."
67
+ # RUN wget -c "https://models-online-persist.shakker.ai/web/model/036c4f69b4b94e0b87160f469655f4be/caa95002a1c17218748a33473edcf29aac44653946baef832137aa50c398cced.safetensors?attname=epiCRealism_pure%20Evolution%20V5-inpainting.safetensors" -P ./models/checkpoints/
68
+ # RUN wget -c https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth -P ./models/sams/
69
+
70
+ # RUN git lfs install \
71
+ # && git clone https://huggingface.co/latent-consistency/lcm-lora-sdv1-5 \
72
+ # && mv lcm-lora-sdv1-5/* ./models/loras/ \
73
+ # && rm -rf lcm-lora-sdv1-5
74
+
75
+ # RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack.git
76
+ # RUN cd custom_nodes && git clone https://github.com/BadCafeCode/masquerade-nodes-comfyui.git
77
+ # RUN cd custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git
78
+ # RUN cd custom_nodes && git clone https://github.com/theUpsider/ComfyUI-Logic.git
79
+ # RUN cd custom_nodes && git clone https://github.com/cubiq/ComfyUI_essentials.git
80
+ # RUN cd custom_nodes && git clone https://github.com/kijai/ComfyUI-KJNodes.git
81
+ # RUN cd custom_nodes && git clone https://github.com/storyicon/comfyui_segment_anything.git
82
+ # RUN cd custom_nodes && git clone https://github.com/edenartlab/eden_comfy_pipelines.git
83
+ # RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git
84
+ # RUN cd custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui.git
85
+ # RUN cd custom_nodes && git clone https://github.com/talesofai/comfyui-browser.git
86
+
87
+ # RUN echo "Done"
88
+ # RUN pwd && ls -la
89
 
90
 
91
  RUN wget -O app.py "https://drive.usercontent.google.com/download?id=1QR8A1IuqoYiiA6HMwHDUJPSeyjunEWlK&export=download&authuser=0&confirm=t&uuid=0d0fb84c-2c0c-4e37-96a0-24f74f67dd42&at=APZUnTV2uNiRWYiczKu3Hpi--KyS%3A1718133341427"