diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile index f380f3094..5b1217118 100644 --- a/services/AUTOMATIC1111/Dockerfile +++ b/services/AUTOMATIC1111/Dockerfile @@ -35,6 +35,7 @@ RUN --mount=type=cache,target=/var/cache/apt \ RUN --mount=type=cache,target=/cache --mount=type=cache,target=/root/.cache/pip \ aria2c -x 5 --dir /cache --out torch-2.0.1-cp310-cp310-linux_x86_64.whl -c \ https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-linux_x86_64.whl && \ + pip install --upgrade pip && \ pip install /cache/torch-2.0.1-cp310-cp310-linux_x86_64.whl torchvision --index-url https://download.pytorch.org/whl/cu118 @@ -70,12 +71,13 @@ RUN --mount=type=cache,target=/root/.cache/pip \ RUN apt-get -y install libgoogle-perftools-dev && apt-get clean ENV LD_PRELOAD=libtcmalloc.so -ARG SHA=5ef669de080814067961f28357256e8fe27544f4 +ARG SHA=v1.6.0 RUN --mount=type=cache,target=/root/.cache/pip \ cd stable-diffusion-webui && \ - git fetch && \ + git fetch --all --tags && \ git reset --hard ${SHA} && \ - pip install -r requirements_versions.txt + pip install -r requirements_versions.txt && \ + pip install httpx==0.24.1 COPY . /docker