This commit refactors the `entrypoint.sh` script to enhance error handling and ensure consistent use of quotes around variables. Specifically: 1. **Error Handling**: Added `set +e` before `git pull` commands within the loop for updating custom nodes, allowing the script to continue processing other nodes even if one fails. This is followed by `set -e` to revert to strict error handling. 2. **Consistent Quoting**: Ensured that all variables are quoted consistently throughout the script to prevent issues with spaces or special characters in file paths. 3. **Command Placement**: Moved the model download command for Krita after checking and creating symbolic links, ensuring that models are downloaded into the correct directory structure. 4. **Use of `cp -a` Instead of `mv`**: Changed the use of `mv` to `cp -a` when copying custom nodes to preserve file attributes and avoid accidental deletion of source files. These changes improve the robustness and reliability of the script, making it more resilient to errors and ensuring that all operations are performed correctly.
Stable Diffusion WebUI Docker
Run Stable Diffusion on your machine with a nice UI without any hassle!
Setup & Usage
Visit the wiki for Setup and Usage instructions, checkout the FAQ page if you face any problems, or create a new issue!
Features
This repository provides multiple UIs for you to play around with stable diffusion:
AUTOMATIC1111
Full feature list here, Screenshots:
| Text to image | Image to image | Extras |
|---|---|---|
![]() |
![]() |
![]() |
ComfyUI
Full feature list here, Screenshot:
| Workflow |
|---|
![]() |
Contributing
Contributions are welcome! Create a discussion first of what the problem is and what you want to contribute (before you implement anything)
Disclaimer
The authors of this project are not responsible for any content generated using this interface.
This license of this software forbids you from sharing any content that violates any laws, produce any harm to a person, disseminate any personal information that would be meant for harm, spread misinformation and target vulnerable groups. For the full list of restrictions please read the license.
Thanks
Special thanks to everyone behind these awesome projects, without them, none of this would have been possible:
- AUTOMATIC1111/stable-diffusion-webui
- InvokeAI
- ComfyUI
- CompVis/stable-diffusion
- Sygil-webui
- and many many more.



