This is a simple Node.js application that demonstrates how to create a Docker container for a basic web server using Node.js.
- Node.js installed on your local machine.
Follow these steps to run the Node.js application locally:
-
Clone this repository to your local machine:
git clone https://github.com/Sakeena19/node-docker-example.git
Navigate to the project directory:
bash Copy code cd node-docker-example Install dependencies:
bash Copy code npm install Start the Node.js server:
bash Copy code node index.js Open a web browser and go to http://localhost:3000 to view the application.