We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceda2e2 commit 7b94e18Copy full SHA for 7b94e18
demo1/Dockerfile
@@ -1,2 +1,8 @@
1
+# nginx:alpine is a very lightweight version of the web server nginx
2
FROM nginx:alpine
3
+
4
+# We copy the index.html to the default path for nginx
5
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