twinkle-toes commited on
Commit
3cf88a4
·
verified ·
1 Parent(s): 8044053

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,6 +1,9 @@
1
  FROM nginx:latest
2
  RUN apt-get update && \
3
  apt-get install -y git
4
- RUN git clone https://gitgud.io/twinkletoes/doll-e.git /usr/share/nginx/html
 
 
 
5
  ENV NGINX_PORT=7860
6
  EXPOSE 7860
 
1
  FROM nginx:latest
2
  RUN apt-get update && \
3
  apt-get install -y git
4
+ RUN git clone https://gitgud.io/twinkletoes/doll-e.git /app && \
5
+ rm -fr /usr/share/nginx/html/* && \
6
+ rm -fr /app/.git && \
7
+ mv /app/* /usr/share/nginx/html/
8
  ENV NGINX_PORT=7860
9
  EXPOSE 7860