From c5676280fef0adacc4d18f53abbf19ac591fc046 Mon Sep 17 00:00:00 2001 From: PjAkash Date: Thu, 1 Oct 2020 19:36:14 +0530 Subject: [PATCH] Fixed error 'docker run' to 'docker build' --- get-started/nodejs/build-images.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-started/nodejs/build-images.md b/get-started/nodejs/build-images.md index e35bb5f5e3..a5d229744a 100644 --- a/get-started/nodejs/build-images.md +++ b/get-started/nodejs/build-images.md @@ -79,7 +79,7 @@ Switch back to the terminal where our server is running. You should now see the ## Create a Dockerfile for Node.js -A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. When we tell Docker to build our image by executing the `docker run` command, Docker reads these instructions and executes them one by one and creates a Docker image as a result. +A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image. When we tell Docker to build our image by executing the `docker build` command, Docker reads these instructions and executes them one by one and creates a Docker image as a result. Let’s walk through the process of creating a Dockerfile for our application. In the root of your working directory, create a file named `Dockerfile` and open this file in your text editor.