added custom node located on bucket
Browse files- Dockerfile +10 -17
Dockerfile
CHANGED
|
@@ -6,9 +6,6 @@ ENV DEBIAN_FRONTEND=noninteractive \
|
|
| 6 |
ARG HF_TOKEN
|
| 7 |
ENV HF_TOKEN=${HF_TOKEN}
|
| 8 |
|
| 9 |
-
ARG GITHUB_TOKEN
|
| 10 |
-
ENV GITHUB_TOKEN=${GITHUB_TOKEN}
|
| 11 |
-
|
| 12 |
ARG USE_PERSISTENT_DATA=false
|
| 13 |
ENV USE_PERSISTENT_DATA=${USE_PERSISTENT_DATA}
|
| 14 |
|
|
@@ -65,19 +62,15 @@ RUN rm -rf * && \
|
|
| 65 |
git checkout 39e75862b248a20e8233ccee743ba5b2e977cdcf && \
|
| 66 |
pip install xformers!=0.0.18 --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121
|
| 67 |
|
| 68 |
-
#
|
| 69 |
-
RUN echo "
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
echo "Custom nodes installed."
|
| 78 |
-
|
| 79 |
-
# Run install scripts for custom nodes
|
| 80 |
-
RUN cd /data/ComfyUI/custom_nodes/comfy_controlnet_preprocessors && python install.py --no_download_ckpts || true
|
| 81 |
RUN cd /data/ComfyUI/custom_nodes/comfyui_controlnet_aux && pip install -r requirements.txt || true
|
| 82 |
RUN cd /data/ComfyUI/custom_nodes/stability-ComfyUI-nodes && pip install -r requirements.txt || true
|
| 83 |
|
|
@@ -103,4 +96,4 @@ EOF
|
|
| 103 |
|
| 104 |
RUN chmod +x /start.sh
|
| 105 |
|
| 106 |
-
CMD ["/start.sh"]
|
|
|
|
| 6 |
ARG HF_TOKEN
|
| 7 |
ENV HF_TOKEN=${HF_TOKEN}
|
| 8 |
|
|
|
|
|
|
|
|
|
|
| 9 |
ARG USE_PERSISTENT_DATA=false
|
| 10 |
ENV USE_PERSISTENT_DATA=${USE_PERSISTENT_DATA}
|
| 11 |
|
|
|
|
| 62 |
git checkout 39e75862b248a20e8233ccee743ba5b2e977cdcf && \
|
| 63 |
pip install xformers!=0.0.18 --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu121
|
| 64 |
|
| 65 |
+
# Copy custom nodes from your public bucket
|
| 66 |
+
RUN echo "Copying custom nodes from public bucket..." && \
|
| 67 |
+
cp -r /datapublic/comfy/custom_nodes/ComfyUI-Manager-main /data/ComfyUI/custom_nodes/ComfyUI-Manager 2>/dev/null || true && \
|
| 68 |
+
cp -r /datapublic/comfy/custom_nodes/comfyui_controlnet_aux-main /data/ComfyUI/custom_nodes/comfyui_controlnet_aux 2>/dev/null || true && \
|
| 69 |
+
cp -r /datapublic/comfy/custom_nodes/stability-ComfyUI-nodes-master /data/ComfyUI/custom_nodes/stability-ComfyUI-nodes 2>/dev/null || true && \
|
| 70 |
+
cp -r /datapublic/comfy/custom_nodes/ComfyUI-post-processing-nodes-master /data/ComfyUI/custom_nodes/ComfyUI-post-processing-nodes 2>/dev/null || true && \
|
| 71 |
+
echo "Custom nodes copied from bucket."
|
| 72 |
+
|
| 73 |
+
# Run install scripts (if needed)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
RUN cd /data/ComfyUI/custom_nodes/comfyui_controlnet_aux && pip install -r requirements.txt || true
|
| 75 |
RUN cd /data/ComfyUI/custom_nodes/stability-ComfyUI-nodes && pip install -r requirements.txt || true
|
| 76 |
|
|
|
|
| 96 |
|
| 97 |
RUN chmod +x /start.sh
|
| 98 |
|
| 99 |
+
CMD ["/start.sh"]
|