Updates to ComfyUI for ComfyManager and other custom nodes

This commit is contained in:
Paul Lamb 2023-12-30 15:23:59 -08:00
parent 6a34739135
commit a67265d872
3 changed files with 54 additions and 3 deletions

View file

@ -8,6 +8,15 @@ ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1
RUN apt-get update && apt-get install -y git && apt-get clean
# add some packages for some custom nodes in comfyui
RUN apt-get install 'libglib2.0-0' -y
RUN apt-get update
RUN apt-get install 'libgl1-mesa-glx' -y
RUN apt-get install 'python-dev' -y
# install pip package for codeformer face detection custom node
RUN pip install lpips
ENV ROOT=/stable-diffusion
RUN --mount=type=cache,target=/root/.cache/pip \
git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT} && \
@ -24,7 +33,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
WORKDIR ${ROOT}
ARG BRANCH=master SHA=7e941f9f247f9b013a33c2e7d117466108414e99
ARG BRANCH=master SHA=c97be4db91d4a249c19afdf88fa1cf3268544e45
RUN --mount=type=cache,target=/root/.cache/pip \
git fetch && \
git checkout ${BRANCH} && \