From 9bb6c066bbee663fc5b9e06e1ac8b35d36d7b231 Mon Sep 17 00:00:00 2001 From: Ivan Novikov Date: Thu, 13 Feb 2025 15:59:02 +0200 Subject: [PATCH 1/2] Fix WARNING: FromAsCasing: 'as' and 'FROM' keywords' casing do not match --- services/AUTOMATIC1111/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile index d59578442..79dd81b78 100644 --- a/services/AUTOMATIC1111/Dockerfile +++ b/services/AUTOMATIC1111/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine/git:2.36.2 as download +FROM alpine/git:2.36.2 AS download COPY clone.sh /clone.sh From 5ebe7a5849d70dd85b9e31db5780ddb62191a3a2 Mon Sep 17 00:00:00 2001 From: Ivan Novikov Date: Thu, 13 Feb 2025 16:31:36 +0200 Subject: [PATCH 2/2] workaround issue: https://github.com/AbdBarho/stable-diffusion-webui-docker/issues/719 --- services/AUTOMATIC1111/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile index 79dd81b78..990c28dad 100644 --- a/services/AUTOMATIC1111/Dockerfile +++ b/services/AUTOMATIC1111/Dockerfile @@ -32,7 +32,8 @@ RUN --mount=type=cache,target=/root/.cache/pip \ cd stable-diffusion-webui && \ git reset --hard v1.9.4 && \ pip install -r requirements_versions.txt - +# Add this line to update typing_extensions +RUN pip install --upgrade typing_extensions ENV ROOT=/stable-diffusion-webui