soiz1 commited on
Commit
62104f7
·
verified ·
1 Parent(s): af83945

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -92,17 +92,14 @@ RUN echo "Downloading checkpoints..." && \
92
  # RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors && cd comfy_controlnet_preprocessors && python install.py --no_download_ckpts
93
  # RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfyui_controlnet_aux && cd comfyui_controlnet_aux && pip install -r requirements.txt
94
  # RUN cd custom_nodes && git clone https://github.com/Stability-AI/stability-ComfyUI-nodes && cd stability-ComfyUI-nodes && pip install -r requirements.txt
95
- RUN echo "Using HF_TOKEN: $HF_TOKEN" && wget --header="Authorization: Bearer $HF_TOKEN" -cq "https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/flux1-dev.safetensors" -P ./models/checkpoints/ && \
96
- cd custom_nodes && \
97
- git clone https://github.com/EllangoK/ComfyUI-post-processing-nodes --depth 1
98
-
99
  RUN cd custom_nodes && git clone https://github.com/EllangoK/ComfyUI-post-processing-nodes --depth 1
100
  RUN cd custom_nodes && git clone https://github.com/jags111/efficiency-nodes-comfyui --depth 1
101
  RUN cd custom_nodes && git clone https://github.com/TinyTerra/ComfyUI_tinyterraNodes --depth 1
102
  RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack --depth 1 && cd ComfyUI-Impact-Pack && python install.py
103
  RUN cd custom_nodes && git clone https://github.com/crystian/ComfyUI-Crystools --depth 1 && pip install -r ./ComfyUI-Crystools/requirements.txt
104
  # RUN cd custom_nodes && git clone https://github.com/rgthree/rgthree-comfy --depth 1
105
-
106
  RUN echo "Done"
107
 
108
  CMD ["python", "main.py", "--front-end-version=Comfy-Org/ComfyUI_legacy_frontend@latest", "--listen", "0.0.0.0", "--cpu", "--port", "7860", "--output-directory", "${USE_PERSISTENT_DATA:+/data/}"]
 
92
  # RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfy_controlnet_preprocessors && cd comfy_controlnet_preprocessors && python install.py --no_download_ckpts
93
  # RUN cd custom_nodes && git clone https://github.com/Fannovel16/comfyui_controlnet_aux && cd comfyui_controlnet_aux && pip install -r requirements.txt
94
  # RUN cd custom_nodes && git clone https://github.com/Stability-AI/stability-ComfyUI-nodes && cd stability-ComfyUI-nodes && pip install -r requirements.txt
95
+ COPY ./flux1-dev.safetensors /flux1-dev.safetensors
 
 
 
96
  RUN cd custom_nodes && git clone https://github.com/EllangoK/ComfyUI-post-processing-nodes --depth 1
97
  RUN cd custom_nodes && git clone https://github.com/jags111/efficiency-nodes-comfyui --depth 1
98
  RUN cd custom_nodes && git clone https://github.com/TinyTerra/ComfyUI_tinyterraNodes --depth 1
99
  RUN cd custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack --depth 1 && cd ComfyUI-Impact-Pack && python install.py
100
  RUN cd custom_nodes && git clone https://github.com/crystian/ComfyUI-Crystools --depth 1 && pip install -r ./ComfyUI-Crystools/requirements.txt
101
  # RUN cd custom_nodes && git clone https://github.com/rgthree/rgthree-comfy --depth 1
102
+
103
  RUN echo "Done"
104
 
105
  CMD ["python", "main.py", "--front-end-version=Comfy-Org/ComfyUI_legacy_frontend@latest", "--listen", "0.0.0.0", "--cpu", "--port", "7860", "--output-directory", "${USE_PERSISTENT_DATA:+/data/}"]