File size: 752 Bytes
7b85f3f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1659e0c
 
 
 
 
 
 
7b85f3f
 
 
1659e0c
7b85f3f
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM ubuntu:20.04

RUN apt-get update && apt-get install -y --no-install-recommends \
    build-essential \
    ca-certificates \
    curl \
    git \
    libgl1-mesa-glx \
    libglib2.0-0 \
    libsm6 \
    libxext6 \
    libxrender-dev \
    python3-dev \
    python3-pip \
    python3-setuptools \
    python3-wheel \
    sudo \
    unzip \
    vim \
    wget \
    && rm -rf /var/lib/apt/lists/*

RUN useradd -m huggingface

USER huggingface

WORKDIR /home/huggingface

RUN wget https://github.com/cmdr2/stable-diffusion-ui/releases/download/v2.5.24/Easy-Diffusion-Linux.zip && \
    unzip Easy-Diffusion-Linux.zip && \
    rm Easy-Diffusion-Linux.zip

# ENTRYPOINT [ "docker-entrypoint.py" ]
RUN cd Easy-Diffusion-Linux/easy-diffusion && \
    ls