From 46afbc5ae6079cc6c3e389ea8f4fd7b9034053f9 Mon Sep 17 00:00:00 2001 From: ravdy <30906888+ravdy@users.noreply.github.com> Date: Tue, 12 Oct 2021 18:17:14 +0530 Subject: [PATCH] Update dockerfile_basics.md --- Dockerfile/dockerfile_basics.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile/dockerfile_basics.md b/Dockerfile/dockerfile_basics.md index 3ff97c3..b1db917 100644 --- a/Dockerfile/dockerfile_basics.md +++ b/Dockerfile/dockerfile_basics.md @@ -1,12 +1,12 @@ # Dockerfile basics FROM -RUN - (Use RUN command only once, becuase each run command create a new lower) -COPY -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. -ENTRYPONT +RUN - (Use RUN command only once, becuase each run command create a new lower) +COPY +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. +ENTRYPONT Create a 1st Docker file to setup tomcat. ```sh