diff --git a/Containerization & Orchestration/Docker/3-Docker-File.md b/Containerization & Orchestration/Docker/3-Docker-File.md index 8689871..cc69eca 100644 --- a/Containerization & Orchestration/Docker/3-Docker-File.md +++ b/Containerization & Orchestration/Docker/3-Docker-File.md @@ -125,7 +125,11 @@ docker build -t - If your file is named something other than `Dockerfile` (e.g., `CustomDockerfile`): ```bash - docker build -t app-test -f CustomDockerfile . + docker build -t app-test -f . + ``` +- If you want build file without use cache + ```bash + docker build -t app-test:v1 -f . --no-cache ``` #### Explanation: