mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-15 15:22:55 +03:00
20ca6e2749
-Added libsndfile1-dev to apt-get command on line 9 -Added ./setup.py copy as line 14
19 lines
472 B
Plaintext
19 lines
472 B
Plaintext
ARG PYTORCH_IMAGE=hlky/pytorch:1.12.1-runtime
|
|
|
|
FROM ${PYTORCH_IMAGE}
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
WORKDIR /install
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y wget curl git build-essential zip unzip nano openssh-server libgl1 libsndfile1-dev && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY ./requirements.txt /install/
|
|
COPY ./setup.py /install/
|
|
|
|
RUN /opt/conda/bin/python -m pip install -r /install/requirements.txt
|
|
|
|
RUN /opt/conda/bin/conda clean -ya
|