@@ -24,25 +24,25 @@ RUN . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git 5b3af03
2424RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interrogator 2486589f24165c8e3b303f84e9dbbea318df83e8
2525
2626
27- FROM alpine:3 as xformers
28- RUN apk add aria2
29- RUN aria2c -x 5 --dir / --out wheel.whl 'https://github.com/AbdBarho/stable-diffusion-webui-docker/releases/download/4.0 .0/xformers-0.0.16rc393 -cp310-cp310-manylinux2014_x86_64.whl'
27+ FROM alpine:3.17 as xformers
28+ RUN apk add --no-cache aria2
29+ RUN aria2c -x 5 --dir / --out wheel.whl 'https://github.com/AbdBarho/stable-diffusion-webui-docker/releases/download/4.1 .0/xformers-0.0.16.dev421 -cp310-cp310-manylinux2014_x86_64.whl'
3030
31- FROM python:3.10-slim
31+ FROM python:3.10.9 -slim
3232
3333SHELL ["/bin/bash" , "-ceuxo" , "pipefail" ]
3434
3535ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1
3636
37- RUN PIP_NO_CACHE_DIR=1 pip install torch==1.12 .1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116
37+ RUN PIP_NO_CACHE_DIR=1 pip install torch==1.13 .1+cu117 torchvision --extra-index-url https://download.pytorch.org/whl/cu117
3838
3939RUN apt-get update && apt install fonts-dejavu-core rsync git jq moreutils -y && apt-get clean
4040
4141
4242RUN --mount=type=cache,target=/root/.cache/pip <<EOF
4343git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
4444cd stable-diffusion-webui
45- git reset --hard 4af3ca5393151d61363c30eef4965e694eeac15e
45+ git reset --hard d7aec59c4eb02f723b3d55c6f927a42e97acd679
4646pip install -r requirements_versions.txt
4747EOF
4848
@@ -68,7 +68,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
6868# Note: don't update the sha of previous versions because the install will take forever
6969# instead, update the repo state in a later step
7070
71- ARG SHA=2b94ec78869db7d2beaad23bdff47340416edf85
71+ ARG SHA=82725f0ac439f7e3b67858d55900e95330bbd326
7272RUN --mount=type=cache,target=/root/.cache/pip <<EOF
7373cd stable-diffusion-webui
7474git fetch
0 commit comments