beowcow commited on
Commit
3cbdde3
·
verified ·
1 Parent(s): 499326a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -8
Dockerfile CHANGED
@@ -56,14 +56,10 @@ RUN apt update && \
56
  rm -rf /var/lib/apt/lists/* && \
57
  echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
58
 
59
- RUN git init
60
- RUN git remote add origin https://github.com/ashleykleynhans/facefusion-docker
61
- RUN git pull
62
- RUN git checkout main -f
63
- RUN git branch --set-upstream-to origin/main
64
- RUN ls ./
65
- RUN cp /facefusion-docker/nginx/nginx.conf /etc/nginx/nginx.conf && \
66
- cp /facefusion-docker/nginx/502.html /usr/share/nginx/html/502.html
67
  #COPY nginx/nginx.conf /etc/nginx/nginx.conf
68
  #COPY nginx/502.html /usr/share/nginx/html/502.html
69
  # Set Python
 
56
  rm -rf /var/lib/apt/lists/* && \
57
  echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
58
 
59
+ RUN git clone https://github.com/ashleykleynhans/facefusion-docker
60
+ RUN ls facefusion-docker
61
+ RUN cp facefusion-docker/nginx/nginx.conf /etc/nginx/nginx.conf && \
62
+ cp facefusion-docker/nginx/502.html /usr/share/nginx/html/502.html
 
 
 
 
63
  #COPY nginx/nginx.conf /etc/nginx/nginx.conf
64
  #COPY nginx/502.html /usr/share/nginx/html/502.html
65
  # Set Python