Skip to content

Commit 7b94e18

Browse files
committed
update Demo
1 parent ceda2e2 commit 7b94e18

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

demo1/Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1+
# nginx:alpine is a very lightweight version of the web server nginx
12
FROM nginx:alpine
3+
4+
# We copy the index.html to the default path for nginx
25
ADD index.html /usr/share/nginx/html
6+
7+
# No need to add ENTRYPOINT or CMD since is already included in the nginx image
8+
# https://github.com/nginxinc/docker-nginx/blob/f603bb3632ea6df0bc9da2179c18eb322c286298/mainline/alpine/Dockerfile

0 commit comments

Comments
 (0)