minor edits - Day 45
This commit is contained in:
parent
1ab1111189
commit
c1516ca31d
@ -53,6 +53,8 @@ The following table shows some of the dockerfile statements we will be using or
|
||||
| CMD | Arguments passed to the entrypoint. If ENTRYPOINT is not set (defaults to /bin/sh -c), the CMD will be the commands the container executes. |
|
||||
| EXPOSE | To define which port through which to access your container application. |
|
||||
| LABEL | To add metadata to the image. |
|
||||
|
||||
|
||||
Now we have the detail on how to build our first dockerfile we can create a working directory and create our dockerfile. I have created a working directory within this repository where you can see the files and folders I have to walk through. [Containers](Days/Containers)
|
||||
|
||||
In this directory I am going to create a .dockerignore file similar to the .gitignore we used in the last section. This file will list any files that would otherwise be created during the Docker build process, which you want to exclude from the final build.
|
||||
|
Loading…
Reference in New Issue
Block a user