π 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
Now open:
π οΈ 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!