|
@@ -67,7 +67,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
|
|
|
# Note: don't update the sha of previous versions because the install will take forever
|
|
# Note: don't update the sha of previous versions because the install will take forever
|
|
|
# instead, update the repo state in a later step
|
|
# instead, update the repo state in a later step
|
|
|
|
|
|
|
|
-ARG SHA=93fad28a979727f9b1331dbdc447598824057cdc
|
|
|
|
|
|
|
+ARG SHA=7a14c8ab45da8a681792a6331d48a88dd684a0a9
|
|
|
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
|
|
RUN --mount=type=cache,target=/root/.cache/pip <<EOF
|
|
|
cd stable-diffusion-webui
|
|
cd stable-diffusion-webui
|
|
|
git fetch
|
|
git fetch
|
|
@@ -75,8 +75,7 @@ git reset --hard ${SHA}
|
|
|
pip install -r requirements_versions.txt
|
|
pip install -r requirements_versions.txt
|
|
|
EOF
|
|
EOF
|
|
|
|
|
|
|
|
-RUN --mount=type=cache,target=/root/.cache/pip \
|
|
|
|
|
- pip install -U opencv-python-headless 'transformers>=4.24'
|
|
|
|
|
|
|
+RUN --mount=type=cache,target=/root/.cache/pip pip install -U opencv-python-headless
|
|
|
|
|
|
|
|
COPY . /docker
|
|
COPY . /docker
|
|
|
|
|
|