Update Docker File Doc

This commit is contained in:
2024-10-07 12:01:26 +03:30
parent 1f74472993
commit bb000e73cc

View File

@@ -125,7 +125,11 @@ docker build -t <app-name> <path-to-dockerfile>
- If your file is named something other than `Dockerfile` (e.g., `CustomDockerfile`): - If your file is named something other than `Dockerfile` (e.g., `CustomDockerfile`):
```bash ```bash
docker build -t app-test -f CustomDockerfile . docker build -t app-test -f <CustomDockerfile> .
```
- If you want build file without use cache
```bash
docker build -t app-test:v1 -f <Custom-Dir> . --no-cache
``` ```
#### Explanation: #### Explanation: