mirror of
https://github.com/Physton/sd-webui-prompt-all-in-one.git
synced 2026-12-03 18:42:25 +07:00
[PR #375] [CLOSED] Add Docker support for CPU-only container hosting #365
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Physton/sd-webui-prompt-all-in-one#365
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Physton/sd-webui-prompt-all-in-one/pull/375
Author: @yuval2508
Created: 2/19/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
4e7b2cbAdd Docker support for CPU-only container hosting📊 Changes
6 files changed (+383 additions, -0 deletions)
View changed files
➕
.dockerignore(+9 -0)➕
Dockerfile(+99 -0)➕
docker-compose.yml(+28 -0)➕
docker/entrypoint.sh(+41 -0)➕
docker/patch_launch_utils.py(+46 -0)➕
docker/patch_ldm.py(+160 -0)📄 Description
Summary
Files
Dockerfile— builds image with PyTorch CPU, extension deps, pre-cloned repos, pre-installed requirementsdocker-compose.yml— maps port 7860, volumes for models/outputs/storagedocker/entrypoint.sh— sets PYTHONPATH and launches WebUI with CPU flagsdocker/patch_ldm.py— patches ldm package with v2 stubs (midas, AddMiDaS, LatentDepth2ImageDiffusion, ATTENTION_MODES, FrozenOpenCLIPEmbedder)docker/patch_launch_utils.py— makes git_clone failures non-fatal.dockerignore— excludes node_modules, pycache, git historyTest plan
docker compose up --buildcompletes successfullysd-webui-prompt-all-in-one background API service started successfully)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.