atikur-rabbi commited on
Commit
0a19c40
1 Parent(s): 55717ed

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -8
Dockerfile CHANGED
@@ -21,14 +21,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
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
@@ -40,5 +40,4 @@ USER huggingface
40
 
41
  WORKDIR /home/huggingface
42
 
43
- CMD [ "easy-diffusion/start.sh" ]
44
-
 
21
  && rm -rf /var/lib/apt/lists/*
22
 
23
  RUN useradd -m huggingface
24
+ RUN cd /home/huggingface/ && \
25
+ 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
 
40
 
41
  WORKDIR /home/huggingface
42
 
43
+ CMD [ "easy-diffusion/start.sh" ]