Skip to content

Commit c80df3e

Browse files
authored
Update Dockerfile
1 parent a0cccd1 commit c80df3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN cd extensions && git clone https://github.com/d8ahazard/sd_dreambooth_extens
2626
RUN python3.10 -m venv venv
2727
RUN . /app/stable-diffusion-webui/venv/bin/activate && cd extensions/sd_dreambooth_extension && pip install -r requirements.txt && cd ../.. && ./webui.sh --skip-torch-cuda-test --exit && . /app/stable-diffusion-webui/venv/bin/activate && pip cache purge && sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/*
2828

29-
RUN rm -rf /etc/apt/sources.list && rm -rf /etc/apt/sources.list.d/*ubuntu* && wget https://github.com/IAMJOYBO/stablediffusion-webui/raw/refs/heads/main/sources-22.04.list -O /etc/apt/sources.list
29+
RUN sudo rm -rf /etc/apt/sources.list && sudo rm -rf /etc/apt/sources.list.d/*ubuntu* && sudo wget https://github.com/IAMJOYBO/stablediffusion-webui/raw/refs/heads/main/sources-22.04.list -O /etc/apt/sources.list
3030
RUN . /app/stable-diffusion-webui/venv/bin/activate && pip config set global.index-url https://mirrors.aliyun.com/pypi/simple && pip config set install.trusted-host mirrors.aliyun.com
3131

32-
CMD ./webui.sh --listen --port=7860 --allow-code --api --xformers
32+
CMD ./webui.sh --listen --port=7860 --allow-code --api

0 commit comments

Comments
 (0)