mirror of https://github.com/docker/docs.git
parent
42142d3ab6
commit
b40a8effd4
|
@ -101,7 +101,7 @@ In order to build the [container image](../get-started/overview.md/#docker-objec
|
|||
$ docker build -t getting-started .
|
||||
```
|
||||
|
||||
The `docker build` command uses the Dockerfile to build a new container image. You might have noticed that Docker downloaded a lot of "layers". This is because you instructed the builder that you wanted to start from the `node:12-alpine` image. But, since you didn't have that on your machine, Docker needed to download the image.
|
||||
The `docker build` command uses the Dockerfile to build a new container image. You might have noticed that Docker downloaded a lot of "layers". This is because you instructed the builder that you wanted to start from the `node:18-alpine` image. But, since you didn't have that on your machine, Docker needed to download the image.
|
||||
|
||||
After Docker downloaded the image, the instructions from the Dockerfile copied in your application and used `yarn` to install your application's dependencies. The `CMD` directive specifies the default command to run when starting a container from this image.
|
||||
|
||||
|
|
Loading…
Reference in New Issue