mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Update 02_our_app.md
node:12-alpine -> node:18-alpine
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -143,4 +143,4 @@ In this short section, you learned the basics about creating a Dockerfile to bui
|
||||
|
||||
Next, you're going to make a modification to your app and learn how to update your running application with a new image. Along the way, you'll learn a few other useful commands.
|
||||
|
||||
[Update the application](03_updating_app.md){: .button .primary-btn}
|
||||
[Update the application](03_updating_app.md){: .button .primary-btn}
|
||||
|
||||
Reference in New Issue
Block a user