Skip to content

Pratap45-One/node-js-demo2-task2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Demo App with Jenkins CI/CD and Docker

This is a simple Node.js Express application demonstrating CI/CD pipeline integration using Jenkins and Docker.

Features

  • Basic Express server
  • Dockerized for easy deployment
  • Jenkins pipeline for build and deployment automation

Prerequisites

Getting Started

1. Install dependencies

npm install

2. Run locally

node app.js

Visit http://localhost:3000 in your browser.

3. Build Docker image

docker build -t nodejs-demo-app:latest .

4. Run Docker container

docker run -d -p 3000:3000 --name nodejs-demo nodejs-demo-app:latest

5. Jenkins Pipeline

See Jenkinsfile for the pipeline configuration. The pipeline builds the Docker image and deploys the container.

File Structure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published