mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-03 22:24:19 +01:00
Created DEPENDENCIES argument for provide additional dependencies for the apt install command
This commit is contained in:
parent
792db4d1c3
commit
b546d00967
|
|
@ -36,7 +36,8 @@ ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1 PIP_NO_CACHE_DIR=1
|
||||||
|
|
||||||
ARG TORCH_COMMAND="pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
|
ARG TORCH_COMMAND="pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"
|
||||||
RUN ${TORCH_COMMAND}
|
RUN ${TORCH_COMMAND}
|
||||||
RUN apt-get update && apt install fonts-dejavu-core rsync git jq moreutils -y && apt-get clean
|
ARG DEPENDENCIES=""
|
||||||
|
RUN apt-get update && apt install fonts-dejavu-core rsync git jq moreutils ${DEPENDENCIES} -y && apt-get clean
|
||||||
|
|
||||||
|
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue