mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-04-07 07:24:00 +00:00
Updates to ComfyUI for ComfyManager and other custom nodes
This commit is contained in:
parent
6a34739135
commit
a67265d872
3 changed files with 54 additions and 3 deletions
|
|
@ -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} && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue