stable-diffusion-ui-podman/Containerfile
fbt 1a54b137c3 init
Signed-off-by: fbt <fbt@fleshless.org>
2023-10-23 01:42:57 +00:00

15 lines
414 B
Docker

# podman run -it -e NVIDIA_DRIVER_CAPABILITIES=compute,utility spark:latest bash
FROM archlinux:latest
RUN pacman-key --init
RUN pacman -Suy --noconfirm
COPY stable-diffusion-ui.pkg.tar.zst /stable-diffusion-ui.pkg.tar.zst
COPY init /init
COPY config.yaml /config.yaml
RUN pacman -S --noconfirm curl which nvidia-utils
RUN useradd -m -s /usr/bin/bash -d /srv/stable-diffusion stable-diffusion
ENTRYPOINT /init