How to Build Docker image for nodejs apps | GitHub to DockerHub | Jenkins CI/CD Pipeline | BashMOD
ฝัง
- เผยแพร่เมื่อ 6 ก.พ. 2025
- In this comprehensive tutorial, we take you through the entire process of building, testing, and deploying a Node.js app using a Jenkins CI/CD pipeline. Learn how to create a simple Node.js app with the Express framework and then seamlessly integrate it with GitHub and Jenkins for automated testing and building.
We'll walk you through setting up a Jenkinsfile, executing code tests, and creating a Docker image for your app. Finally, you'll see how to run the Docker container and push your containerized app to DockerHub registry. Whether you're a developer or a DevOps enthusiast, this step-by-step guide will help you master the art of continuous integration and deployment.
Don't miss out on this hands-on demonstration of modern DevOps practices and best practices for Node.js application deployment. Subscribe, like, and share to stay updated on more tech tutorials and tips.
#NodeJS #Jenkins #Docker #CI/CD #DevOps #GitHub #DockerHub
#beginners #tech #nodejs #devops #docker #jenkins #jenkinspipeline #dockerfile #container
really very amazing video totally satisfied
Thank you so much☺️
Nice one 👍
Thank you
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
i got this error
put your password
really helpful
Thank you so much ❤️
Good presentation
Thanks
Niece one ❤️
Thanks❤️
how it differ if we are developing mern stack micro service app. would appreciate if you can do a video in this
Sure, we will do
Nice one👍👍
Thanks bro
you made it easy
Thanks bro
Good 👍
Thank you👍
Nice 👍
Thanks ✌
Thanks
I got this error in my pipline:
script.sh.copy: 1: docker: not found
Before I installed docker plugin in my jenkins, but I got this error yet.
Install docker in your jenkins server
@@bashopsOfficial I run Jenkins using docker, and already I have installed docker on my server.
Thank you
You're welcome
Bro i'm getting this error while trying to build images on pipeline
help me rectify this error
+ docker build -t my-node-app .
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
Docker’s legacy builder is deprecated, use BuildKit to build images.You can enable BuildKit by setting an environment variable before running the docker build command.
export DOCKER_BUILDKIT=1
This should be added before the docker build command. Your Jenkins pipeline script should look something like this
+ export DOCKER_BUILDKIT=1
+ docker build -t my-node-app .
please provide your git repo url
GitHub username : “bashcodegit”
❤
Thanks
Pls inform me what are the plugin installed .in docker image push in to the docker hub
Thank you, Nice one
💯