Compare commits
7 Commits
83a79aae60
...
master
Author | SHA1 | Date | |
---|---|---|---|
253a8b7555 | |||
0086e6c667 | |||
42377b6082 | |||
ee3b3a1efb | |||
e3e34f2784 | |||
102f719a47 | |||
114eaafb90 |
@@ -16,7 +16,7 @@ FROM archlinux:latest
|
||||
COPY --from=0 /stable-diffusion-ui.pkg.tar.zst /stable-diffusion-ui.pkg.tar.zst
|
||||
|
||||
RUN pacman-key --init
|
||||
RUN pacman -Suy --noconfirm which
|
||||
RUN pacman -Suy --noconfirm which nvidia-utils
|
||||
|
||||
COPY init /init
|
||||
COPY config.yaml /config.yaml
|
||||
|
@@ -17,10 +17,10 @@ Note that there's currently an issue with the AUR packages for Nvidia's containe
|
||||
|
||||
```
|
||||
# Build the image
|
||||
podman build --no-cache . -t 'stable-diffusion-ui-server'
|
||||
podman build . -t 'stable-diffusion-ui'
|
||||
|
||||
# Run the container
|
||||
podman run -it --device nvidia.com/gpu=all --security-opt=label=disable --name stable-diffusion-ui -p 9000:9000 -v ./data:/opt/stable-diffusion-ui -e NVIDIA_DRIVER_CAPABILITIES=compute,utility localhost/stable-diffusion-ui-server
|
||||
podman run -it --device nvidia.com/gpu=all --security-opt=label=disable --name stable-diffusion-ui -p 9000:9000 -v ./data:/opt/stable-diffusion-ui localhost/stable-diffusion-ui
|
||||
|
||||
# Get to the interface
|
||||
browser http://localhost:9000
|
||||
|
Reference in New Issue
Block a user