diff --git a/docker-compose.yml b/docker-compose.yml index 1b7a9aa..87086d8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -67,7 +67,7 @@ services: <<: *base_service profiles: ["comfy"] build: ./services/comfy/ - image: sd-comfy:1 + image: sd-comfy:6 volumes: - *v2 environment: diff --git a/services/comfy/Dockerfile b/services/comfy/Dockerfile index f9eca7a..ac1673a 100644 --- a/services/comfy/Dockerfile +++ b/services/comfy/Dockerfile @@ -1,34 +1,35 @@ -# syntax=docker/dockerfile:1 - FROM python:3.10.9-slim -SHELL ["/bin/bash", "-ceuxo", "pipefail"] - ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1 RUN --mount=type=cache,target=/root/.cache/pip pip install torch==1.13.0 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117 RUN apt-get update && apt-get install -y git && apt-get clean -ARG BRANCH=master SHA=ee46bef03a98903831c01d31094a0c30ea411b28 -RUN --mount=type=cache,target=/root/.cache/pip <=4.24' # add info COPY . /docker/ -RUN <