From da5649b8861072ffce00ab0e675fbec81f5b64ca Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Sun, 9 Oct 2022 11:10:07 +0200 Subject: [PATCH] auto --- services/AUTOMATIC1111/Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/services/AUTOMATIC1111/Dockerfile b/services/AUTOMATIC1111/Dockerfile index 6e5dad4..e354dc2 100644 --- a/services/AUTOMATIC1111/Dockerfile +++ b/services/AUTOMATIC1111/Dockerfile @@ -20,23 +20,22 @@ EOF RUN git clone https://github.com/crowsonkb/k-diffusion.git repositories/k-diffusion && cd repositories/k-diffusion && git reset --hard f4e99857772fc3a126ba886aadf795a332774878 -FROM continuumio/miniconda3:4.12.0 +FROM python:3.10-slim SHELL ["/bin/bash", "-ceuxo", "pipefail"] -ENV DEBIAN_FRONTEND=noninteractive +ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1 PIP_NO_CACHE_DIR=1 -RUN conda install python=3.8.5 && conda clean -a -y -RUN conda install pytorch==1.11.0 torchvision==0.12.0 cudatoolkit=11.3 -c pytorch && conda clean -a -y +RUN pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113 -RUN apt-get update && apt install fonts-dejavu-core rsync -y && apt-get clean +RUN apt-get update && apt install fonts-dejavu-core rsync git -y && apt-get clean RUN <