Skip to content

Commit 8a31c02

Browse files
authored
add docker build arg for cachebusting setup_nodes.py (yondonfu#218)
* add docker build arg for cachebusting setup_nodes.py
1 parent 2097ee0 commit 8a31c02

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker/Dockerfile.base

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ RUN ln -s /workspace/comfystream /workspace/ComfyUI/custom_nodes/comfystream
8585
RUN conda run -n comfystream --no-capture-output --cwd /workspace/comfystream pip install -e . --root-user-action=ignore
8686
RUN conda run -n comfystream --no-capture-output --cwd /workspace/comfystream python install.py --workspace /workspace/ComfyUI
8787

88+
# Accept a build-arg that lets CI force-invalidate setup_nodes.py
89+
ARG CACHEBUST=static
90+
ENV CACHEBUST=${CACHEBUST}
91+
8892
# Run setup_nodes
8993
RUN conda run -n comfystream --no-capture-output --cwd /workspace/comfystream python src/comfystream/scripts/setup_nodes.py --workspace /workspace/ComfyUI
9094

0 commit comments

Comments
 (0)