@@ -24,25 +24,25 @@ RUN . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git 5b3af03
24
24
RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interrogator 2486589f24165c8e3b303f84e9dbbea318df83e8
25
25
26
26
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'
30
30
31
- FROM python:3.10-slim
31
+ FROM python:3.10.9 -slim
32
32
33
33
SHELL ["/bin/bash" , "-ceuxo" , "pipefail" ]
34
34
35
35
ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1
36
36
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
38
38
39
39
RUN apt-get update && apt install fonts-dejavu-core rsync git jq moreutils -y && apt-get clean
40
40
41
41
42
42
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
43
43
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
44
44
cd stable-diffusion-webui
45
- git reset --hard 4af3ca5393151d61363c30eef4965e694eeac15e
45
+ git reset --hard d7aec59c4eb02f723b3d55c6f927a42e97acd679
46
46
pip install -r requirements_versions.txt
47
47
EOF
48
48
@@ -68,7 +68,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
68
68
# Note: don't update the sha of previous versions because the install will take forever
69
69
# instead, update the repo state in a later step
70
70
71
- ARG SHA=2b94ec78869db7d2beaad23bdff47340416edf85
71
+ ARG SHA=82725f0ac439f7e3b67858d55900e95330bbd326
72
72
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
73
73
cd stable-diffusion-webui
74
74
git fetch
0 commit comments