From c2f929499e3eace093814a579a828ae99c7819f9 Mon Sep 17 00:00:00 2001
From: Student User <student@workstation.lab.example.com>
Date: Fri, 02 Aug 2019 15:51:29 +0200
Subject: [PATCH] replace ADD with COPY to follow best practices

---
 todo-frontend/Dockerfile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/todo-frontend/Dockerfile b/todo-frontend/Dockerfile
index 742fbb2..6f19aa5 100644
--- a/todo-frontend/Dockerfile
+++ b/todo-frontend/Dockerfile
@@ -11,13 +11,13 @@
   nginx nginx-mod-http-perl
 RUN yum clean all
 
-ADD nginx.conf /etc/nginx/
+COPY nginx.conf /etc/nginx/
 
 RUN touch /run/nginx.pid
 RUN chgrp -R nginx /var/log/nginx /run/nginx.pid
 RUN chmod -R g+rwx /var/log/nginx /run/nginx.pid
   
-ADD src/ /usr/share/nginx/html
+COPY src/ /usr/share/nginx/html
 
 EXPOSE 8080
 

--
Gitblit v1.9.3