From 99306e65839bc338f2ce7e1714e57890dc5eaa45 Mon Sep 17 00:00:00 2001 From: Darrel Pol Date: Thu, 22 Jan 2026 21:25:40 -0600 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3357dde40..5940d3823 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,9 +37,6 @@ RUN TMPDIR=$PIP_TMPDIR pip install --no-cache-dir xformers # Clone the stable-diffusion-webui repository RUN git clone https://github.com/Moonlite-Media/stable-diffusion-webui.git . -# Copy local files into the container -COPY . . - # Set up models folder and download required models RUN mkdir -p models/Stable-diffusion && \ wget -q -P models/Stable-diffusion https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors @@ -51,8 +48,10 @@ RUN mkdir -p extensions && \ git clone https://github.com/Mikubill/sd-webui-controlnet && \ git clone https://github.com/deforum-art/sd-webui-deforum +# Copy local files into the container (this overwrites/adds to the cloned repo) +COPY . . + # Install Python dependencies -COPY requirements.txt . RUN TMPDIR=$PIP_TMPDIR pip install --no-cache-dir -r requirements.txt # Install other external dependencies