From b40a8effd4c4ee80c3cf4e244bd9c79902e0438d Mon Sep 17 00:00:00 2001 From: xd <3900680+xd-dw@users.noreply.github.com> Date: Wed, 30 Nov 2022 09:38:53 +0800 Subject: [PATCH] Update 02_our_app.md node:12-alpine -> node:18-alpine --- get-started/02_our_app.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get-started/02_our_app.md b/get-started/02_our_app.md index 227539fd3a..1c34442e60 100644 --- a/get-started/02_our_app.md +++ b/get-started/02_our_app.md @@ -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} \ No newline at end of file +[Update the application](03_updating_app.md){: .button .primary-btn}