Student User
2019-08-02 c2f929499e3eace093814a579a828ae99c7819f9
replace ADD with COPY to follow best practices
1 files modified
4 ■■■■ changed files
todo-frontend/Dockerfile 4 ●●●● patch | view | raw | blame | history
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