From d8e339f71e5437406d9e0520a53360aa30c80b57 Mon Sep 17 00:00:00 2001 From: developer2 Date: Wed, 23 Feb 2022 17:21:58 +0000 Subject: [PATCH] updated dockerfile directory --- Dockerfile/dockerfile_basics.md | 6 +++--- .../tomcat_install_on_centos | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename tomcat_install_on_centos => Dockerfile/tomcat_install_on_centos (100%) diff --git a/Dockerfile/dockerfile_basics.md b/Dockerfile/dockerfile_basics.md index 3ff97c3..bfc88b7 100644 --- a/Dockerfile/dockerfile_basics.md +++ b/Dockerfile/dockerfile_basics.md @@ -1,11 +1,11 @@ # Dockerfile basics FROM -RUN - (Use RUN command only once, becuase each run command create a new lower) +RUN --- (Use RUN command only once, becuase each run command create a new lower) COPY -ADD - (To download content inside the container) - Recheck this +ADD --- (To download content inside the container) - Recheck this EXPOSE -CMD - There can only be one CMD instruction in a Dockerfile. If you list more than one CMD then only the last CMD will take effect. +CMD --- There can only be one CMD instruction in a Dockerfile. If you list more than one CMD then only the last CMD will take effect. ENTRYPONT Create a 1st Docker file to setup tomcat. diff --git a/tomcat_install_on_centos b/Dockerfile/tomcat_install_on_centos similarity index 100% rename from tomcat_install_on_centos rename to Dockerfile/tomcat_install_on_centos