mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-31 04:42:09 -08:00
Merge pull request #51 from Moonlite-Media/darrelpoldev-patch-1
Update Dockerfile
This commit is contained in:
commit
58d0206371
1 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue