nodejs.org icon indicating copy to clipboard operation
nodejs.org copied to clipboard

Docker tutorial: Name of app exemplified in 'docker build' should be 'docker_web_app' (NOT 'node-web-app')

Open solid-tester opened this issue 4 years ago • 1 comments

  • URL: https://nodejs.org/en/docs/guides/nodejs-docker-webapp/

In the above Docker tutorial provided by Node.js:

The name of the app exemplified in the 'docker build' command (from Building your image) should be 'docker_web_app' (as per the package.json file exemplified in Create the Node.js app) and NOT 'node-web-app' as actually written in the 'docker build' command.

solid-tester avatar Aug 02 '21 12:08 solid-tester

docker build command takes the name of the image and that name can be anything you like. It should not necessarily be the name of the project. It also takes path of the Dockerfile which has the details of where to pick the code from for building the image. Hope it clarifies your concern. If yes, please mark this issue as closed.

poo17nam avatar Oct 07 '21 04:10 poo17nam

The guides are no longer present on the site, so I close this issue.

commit or content has been removed

AugustinMauroy avatar Feb 14 '24 21:02 AugustinMauroy