Skip to content

Latest commit

Β 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Node.js Application with Docker

A basic Node.js application containerized using Docker and published on Docker Hub. This project demonstrates how to build, run, and deploy a Node.js app using Docker β€” a core DevOps & backend skill.

πŸ“Œ Tech Stack

Node.js – Backend runtime

Docker – Containerization

Docker Hub – Image registry

GitHub – Source control

πŸ“‚ Project Structure . β”œβ”€β”€ Dockerfile β”œβ”€β”€ package.json β”œβ”€β”€ package-lock.json β”œβ”€β”€ index.js └── README.md

βš™οΈ Features

Simple Node.js server

Dockerized using best practices

Lightweight image

Easy to run locally or via Docker Hub

Ready for CI/CD and cloud deployment

🐳 Docker Image

The Docker image is publicly available on Docker Hub:

docker pull /

πŸ‘‰ Example:

docker pull yashpathak/node-js-project-docker

▢️ Run Using Docker (Recommended) docker run -p 3000:3000 /

Now open:

http://localhost:3000

πŸ› οΈ Run Locally Without Docker 1️⃣ Clone the repository git clone https://github.com/pathakyashwardhan/node-js-project-docker.git cd node-js-project-docker

2️⃣ Install dependencies npm install

3️⃣ Start the app node index.js

🧱 Build Docker Image Locally docker build -t .

Example:

docker build -t node-js-project .

πŸš€ Push Image to Docker Hub docker tag node-js-project / docker push /

πŸ“– What I Learned

Writing Dockerfiles for Node.js apps

Docker image tagging and pushing

Docker Hub authentication and namespaces

Containerized application workflows

Real-world DevOps basics

🎯 Use Cases

Learning Docker fundamentals

Showcasing DevOps & backend skills

Base template for Node.js + Docker projects

Ready for deployment on AWS / Azure / GCP

πŸ‘¨β€πŸ’» Author

Yashwardhan Pathak

GitHub: https://github.com/pathakyashwardhan

Docker Hub: https://hub.docker.com/u/pathakyashwardhan

⭐ Support

If you find this project helpful, give it a ⭐ on GitHub!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages