Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile/dockerfile_basics.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
File renamed without changes.