15 lines
414 B
Docker
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
|