Allow ComfyUI dependencies in container image
This commit is contained in:
1 parent
1a660c20ba
commit
1dd0c1718e
1 file changed
+2
-1
@@ -7,7 +7,8 @@ RUN test -n "$COMFYUI_COMMIT" \
|
|||||||
&& apt-get install -y --no-install-recommends git ca-certificates \
|
&& apt-get install -y --no-install-recommends git ca-certificates \
|
||||||
&& git clone --filter=blob:none https://github.com/Comfy-Org/ComfyUI.git /opt/ComfyUI \
|
&& git clone --filter=blob:none https://github.com/Comfy-Org/ComfyUI.git /opt/ComfyUI \
|
||||||
&& git -C /opt/ComfyUI checkout "$COMFYUI_COMMIT" \
|
&& git -C /opt/ComfyUI checkout "$COMFYUI_COMMIT" \
|
||||||
&& python -m pip install --no-cache-dir -r /opt/ComfyUI/requirements.txt \
|
&& python -m pip install --break-system-packages --no-cache-dir \
|
||||||
|
-r /opt/ComfyUI/requirements.txt \
|
||||||
&& apt-get purge -y --auto-remove git \
|
&& apt-get purge -y --auto-remove git \
|
||||||
&& rm -rf /var/lib/apt/lists/* /root/.cache
|
&& rm -rf /var/lib/apt/lists/* /root/.cache
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user