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

ความคิดเห็น • 37

  • @Bignoobros236
    @Bignoobros236 หลายเดือนก่อน +1

    really very amazing video totally satisfied

  • @S.Ajju1214
    @S.Ajju1214 ปีที่แล้ว +2

    Nice one 👍

  • @mohammedunais2494
    @mohammedunais2494 ปีที่แล้ว +1

    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

  • @57_harshwardhanshinde94
    @57_harshwardhanshinde94 ปีที่แล้ว +1

    really helpful

  • @jizna__Bashid
    @jizna__Bashid ปีที่แล้ว +1

    Good presentation

  • @Glider-kr7pe
    @Glider-kr7pe 11 หลายเดือนก่อน

    Niece one ❤️

  • @regilearn2138
    @regilearn2138 8 หลายเดือนก่อน +1

    how it differ if we are developing mern stack micro service app. would appreciate if you can do a video in this

  • @mrudulmohan9219
    @mrudulmohan9219 ปีที่แล้ว +1

    Nice one👍👍

  • @GauravSharma-os6ds
    @GauravSharma-os6ds 5 หลายเดือนก่อน

    you made it easy

  • @claudiofragao6866
    @claudiofragao6866 ปีที่แล้ว +1

    Good 👍

  • @AjayDas-m1q
    @AjayDas-m1q ปีที่แล้ว

    Nice 👍

  • @HosseinBajan
    @HosseinBajan 9 หลายเดือนก่อน +1

    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.

    • @bashopsOfficial
      @bashopsOfficial  9 หลายเดือนก่อน

      Install docker in your jenkins server

    • @HosseinBajan
      @HosseinBajan 9 หลายเดือนก่อน

      @@bashopsOfficial I run Jenkins using docker, and already I have installed docker on my server.

  • @joelfernandez5141
    @joelfernandez5141 ปีที่แล้ว

    Thank you

  • @bhuvisakthi8888
    @bhuvisakthi8888 7 หลายเดือนก่อน

    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:

    • @bashopsOfficial
      @bashopsOfficial  7 หลายเดือนก่อน +1

      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 .

  • @AmiyaMohanty-f6r
    @AmiyaMohanty-f6r ปีที่แล้ว +1

    please provide your git repo url

  • @mohammedshabil1713
    @mohammedshabil1713 ปีที่แล้ว

  • @kanigantivani4280
    @kanigantivani4280 6 หลายเดือนก่อน

    Pls inform me what are the plugin installed .in docker image push in to the docker hub

  • @Bashops
    @Bashops 7 หลายเดือนก่อน +1

    Thank you, Nice one