TechnoByte commited on
Commit
f4b6155
·
1 Parent(s): 589dca4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -10
Dockerfile CHANGED
@@ -43,16 +43,11 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
43
  # Set the working directory to /data if USE_PERSISTENT_DATA is set, otherwise set to $HOME/app
44
  WORKDIR $HOME/app
45
 
46
- # Copy the current directory contents into the container at $HOME/app setting the owner to the user
47
-
48
- RUN git clone https://github.com/comfyanonymous/ComfyUI . && \
49
  pip install --no-cache-dir -r requirements.txt
50
 
51
- # Add reboot button
52
- RUN git pull https://github.com/ThisModernDay/ComfyUI.git reboot-button
53
-
54
  # Checkpoints
55
-
56
  RUN echo "Downloading checkpoints..." && \
57
  # Kybalico Models
58
  # wget -c https://huggingface.co/Kybalico/CandyApple/resolve/main/candyApple_v12.safetensors -P ./models/checkpoints/ && \
@@ -80,11 +75,11 @@ RUN echo "Downloading checkpoints..." && \
80
  wget -c https://github.com/grexzen/SD-Chad/raw/main/chadscorer.pth -P ./models/aesthetic/ && \
81
  wget -c https://github.com/christophschuhmann/improved-aesthetic-predictor/raw/main/ava+logos-l14-linearMSE.pth -P ./models/aesthetic/ && \
82
 
83
- # Install custom nodes
84
- echo "Installing custom nodes..."
85
-
86
  # ComfyUI Manager
87
  RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git
 
 
 
88
 
89
  # Controlnet Preprocessor nodes by Fannovel16
90
  # RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors && cd comfy_controlnet_preprocessors && python install.py --no_download_ckpts
 
43
  # Set the working directory to /data if USE_PERSISTENT_DATA is set, otherwise set to $HOME/app
44
  WORKDIR $HOME/app
45
 
46
+ # Clone the ComfyUI repo (fork with restart button)
47
+ RUN git clone https://github.com/ThisModernDay/ComfyUI . && \
 
48
  pip install --no-cache-dir -r requirements.txt
49
 
 
 
 
50
  # Checkpoints
 
51
  RUN echo "Downloading checkpoints..." && \
52
  # Kybalico Models
53
  # wget -c https://huggingface.co/Kybalico/CandyApple/resolve/main/candyApple_v12.safetensors -P ./models/checkpoints/ && \
 
75
  wget -c https://github.com/grexzen/SD-Chad/raw/main/chadscorer.pth -P ./models/aesthetic/ && \
76
  wget -c https://github.com/christophschuhmann/improved-aesthetic-predictor/raw/main/ava+logos-l14-linearMSE.pth -P ./models/aesthetic/ && \
77
 
 
 
 
78
  # ComfyUI Manager
79
  RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Manager.git
80
+
81
+ # Install custom nodes
82
+ echo "Installing custom nodes..."
83
 
84
  # Controlnet Preprocessor nodes by Fannovel16
85
  # RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors && cd comfy_controlnet_preprocessors && python install.py --no_download_ckpts