stable-diffusion-ui-podman/Containerfile

15 lines
414 B
Plaintext
Raw Normal View History

# 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