new-stable-diffusion-comfy (sha256:7399dd5cc135a4a0035248ab73c4e88530b5f4df0bfb13b104a2cfcfc9b9cc2b)

Published 2024-06-06 16:36:33 -04:00 by simcop2387 in simcop2387/new-stable-diffusion

Installation

docker pull gitea.simcop2387.info/simcop2387/new-stable-diffusion-comfy@sha256:7399dd5cc135a4a0035248ab73c4e88530b5f4df0bfb13b104a2cfcfc9b9cc2b
sha256:7399dd5cc135a4a0035248ab73c4e88530b5f4df0bfb13b104a2cfcfc9b9cc2b

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=22.04
ADD file:3bd10da0673e2e72cb06a1f64a9df49a36341df39b0f762e3d1b38ee4de296fa in /
CMD ["/bin/bash"]
ARG PYTORCH_VERSION
ARG TRITON_VERSION
ARG TARGETPLATFORM
ARG CUDA_VERSION
LABEL com.nvidia.volumes.needed=nvidia_driver
RUN |4 PYTORCH_VERSION=2.3.0 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.1.1 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates libjpeg-dev libpng-dev && rm -rf /var/lib/apt/lists/* # buildkit
COPY /opt/conda /opt/conda # buildkit
RUN |4 PYTORCH_VERSION=2.3.0 TRITON_VERSION= TARGETPLATFORM=linux/amd64 CUDA_VERSION=12.1.1 /bin/sh -c if test -n "${TRITON_VERSION}" -a "${TARGETPLATFORM}" != "linux/arm64"; then DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends gcc; rm -rf /var/lib/apt/lists/*; fi # buildkit
ENV PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV NVIDIA_VISIBLE_DEVICES=all
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64
ENV PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PYTORCH_VERSION=2.3.0
WORKDIR /workspace
ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1
RUN /bin/sh -c apt-get update && apt-get install -y git && apt-get clean # buildkit
ENV ROOT=/stable-diffusion
RUN /bin/sh -c git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT} && cd ${ROOT} && git checkout master && git reset --hard 276f8fce9f5a80b500947fb5745a4dde9e84622d && pip install -r requirements.txt # buildkit
WORKDIR /stable-diffusion
COPY . /docker/ # buildkit
RUN /bin/sh -c chmod u+x /docker/entrypoint.sh && cp /docker/extra_model_paths.yaml ${ROOT} # buildkit
ENV NVIDIA_VISIBLE_DEVICES=all PYTHONPATH=: CLI_ARGS=
EXPOSE map[7860/tcp:{}]
ENTRYPOINT ["/docker/entrypoint.sh"]
CMD ["/bin/sh" "-c" "python -u main.py --listen --port 7860 ${CLI_ARGS}"]

Labels

Key Value
com.nvidia.volumes.needed nvidia_driver
org.opencontainers.image.created 2024-06-06T20:29:27Z
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision 5daf398269100a48bcbd2b9309bf2c733fe84c41
org.opencontainers.image.source https://gitea.simcop2387.info/simcop2387/new-stable-diffusion.git
org.opencontainers.image.url https://gitea.simcop2387.info/simcop2387/new-stable-diffusion
org.opencontainers.image.version 22.04
Details
Container
2024-06-06 16:36:33 -04:00
3
OCI / Docker
linux/amd64
3.6 GiB
Versions (7) View all
latest 2024-06-14
build-21 2024-06-14
build-14 2024-06-07
build-11 2024-06-06
build-9 2024-06-05