Update Docker File Doc
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user