From bb000e73cc2946512e313e3e47d8ab1d8b665c29 Mon Sep 17 00:00:00 2001 From: RadinPirouz Date: Mon, 7 Oct 2024 12:01:26 +0330 Subject: [PATCH] Update Docker File Doc --- Containerization & Orchestration/Docker/3-Docker-File.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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: