Spaces:
Runtime error
Runtime error
atikur-rabbi
commited on
Commit
•
7686283
1
Parent(s):
f4d1a4c
up
Browse files- Dockerfile +43 -39
Dockerfile
CHANGED
@@ -1,44 +1,48 @@
|
|
1 |
-
FROM ubuntu:20.04
|
2 |
-
|
3 |
-
RUN apt-get update && apt-get install -y --no-install-recommends \
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
RUN useradd -m huggingface
|
24 |
-
|
25 |
-
# RUN wget https://github.com/cmdr2/stable-diffusion-ui/releases/download/v2.5.24/Easy-Diffusion-Linux.zip && \
|
26 |
-
# unzip Easy-Diffusion-Linux.zip && \
|
27 |
-
# rm Easy-Diffusion-Linux.zip
|
28 |
-
|
29 |
-
RUN mkdir easy-diffusion
|
30 |
-
# copy the local repo to the container
|
31 |
-
COPY . /home/huggingface/easy-diffusion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
-
|
34 |
-
# EXPOSE $PORT
|
35 |
|
36 |
-
|
37 |
-
RUN chmod -R u+x /home/huggingface/easy-diffusion
|
38 |
-
|
39 |
-
USER huggingface
|
40 |
|
41 |
-
|
42 |
|
43 |
-
|
44 |
|
|
|
1 |
+
# FROM ubuntu:20.04
|
2 |
+
|
3 |
+
# RUN apt-get update && apt-get install -y --no-install-recommends \
|
4 |
+
# build-essential \
|
5 |
+
# ca-certificates \
|
6 |
+
# curl \
|
7 |
+
# git \
|
8 |
+
# libgl1-mesa-glx \
|
9 |
+
# libglib2.0-0 \
|
10 |
+
# libsm6 \
|
11 |
+
# libxext6 \
|
12 |
+
# libxrender-dev \
|
13 |
+
# python3-dev \
|
14 |
+
# python3-pip \
|
15 |
+
# python3-setuptools \
|
16 |
+
# python3-wheel \
|
17 |
+
# sudo \
|
18 |
+
# unzip \
|
19 |
+
# vim \
|
20 |
+
# wget \
|
21 |
+
# && rm -rf /var/lib/apt/lists/*
|
22 |
+
|
23 |
+
# RUN useradd -m huggingface
|
24 |
+
|
25 |
+
# # RUN wget https://github.com/cmdr2/stable-diffusion-ui/releases/download/v2.5.24/Easy-Diffusion-Linux.zip && \
|
26 |
+
# # unzip Easy-Diffusion-Linux.zip && \
|
27 |
+
# # rm Easy-Diffusion-Linux.zip
|
28 |
+
|
29 |
+
# RUN mkdir easy-diffusion
|
30 |
+
# # copy the local repo to the container
|
31 |
+
# COPY . /home/huggingface/easy-diffusion
|
32 |
+
|
33 |
+
# EXPOSE 9000
|
34 |
+
# # EXPOSE $PORT
|
35 |
+
|
36 |
+
# RUN chown -R huggingface /home/huggingface/easy-diffusion
|
37 |
+
# RUN chmod -R u+x /home/huggingface/easy-diffusion
|
38 |
+
|
39 |
+
# USER huggingface
|
40 |
|
41 |
+
# WORKDIR /home/huggingface
|
|
|
42 |
|
43 |
+
# CMD [ "easy-diffusion/start.sh" ]
|
|
|
|
|
|
|
44 |
|
45 |
+
FROM we2app/easy-diffusiom
|
46 |
|
47 |
+
EXPOSE 9000
|
48 |
|