[connfa-webapp] purge /var/www/connfa before copying



commit 6e92e20be6e1f88b4abd1938e06cf0ab020e2e49
Author: Britt Yazel <bwyazel gnome org>
Date:   Mon Jul 22 23:02:27 2019 +0000

    purge /var/www/connfa before copying

 Dockerfile | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/Dockerfile b/Dockerfile
index 546d40e..300775f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,5 +4,6 @@ RUN pacman -Syu --noconfirm git nodejs npm tar bzip2 python2 base-devel && \
 RUN cd connfa-webapp && npm install && npm run build && git rev-parse HEAD > dist/HEAD
 
 FROM nginxinc/nginx-unprivileged:stable-alpine
+RUN rm -rf /var/www/connfa
 COPY --from=0 /connfa-webapp/dist /var/www/connfa
 ADD nginx.conf /etc/nginx/conf.d/connfa.conf


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]