concept terminal in category docker

appears as: terminal
Bootstrapping Microservices with Docker, Kubernetes and Terraform

This is an excerpt from Manning's book Bootstrapping Microservices with Docker, Kubernetes and Terraform.

We called the file index.js, why is that? This is the standard name for the main entry point of a Node.js application. It’s simply a convention that it is called index.js. We could just as easily have called it main.js or server.js. That choice is up to you, but by calling it by index.js we are giving it a name that many other Node.js developers will immediately recognize as being the main file.

Figure 3.7. The docker run command produces an instance of our microservice running in a container
npm run test:watch