This is a simple Node.js Express application demonstrating CI/CD pipeline integration using Jenkins and Docker.
- Basic Express server
- Dockerized for easy deployment
- Jenkins pipeline for build and deployment automation
npm install
node app.js
Visit http://localhost:3000 in your browser.
docker build -t nodejs-demo-app:latest .
docker run -d -p 3000:3000 --name nodejs-demo nodejs-demo-app:latest
See Jenkinsfile
for the pipeline configuration. The pipeline builds the Docker image and deploys the container.
app.js
: Main Express applicationDockerfile
: Docker configurationJenkinsfile
: Jenkins pipeline scriptpackage.json
: Project dependencieshello.txt
: Sample text file