Skip to content

Commit 52c6c20

Browse files
committed
Use COPY instead of ADD
[refs #42a921124d66]
1 parent 1b4f241 commit 52c6c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apt-get install -y nginx
55
RUN rm /var/log/nginx/access.log && ln -s /dev/stdout /var/log/nginx/access.log
66
RUN rm /var/log/nginx/error.log && ln -s /dev/stderr /var/log/nginx/error.log
77

8-
ADD ./html.tar.gz /var/www/
8+
COPY ./html/ /var/www/html/
99
ADD http://example.com/index.html /var/www/html/example.html
1010

1111
CMD ["/usr/sbin/nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)