pythoninthegrass / hellonode

A Hello World HTTP server in Node, with a Dockerfile and a Jenkinsfile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello Node

ORIGINAL README

This is a very basic Hello World application written with Node.

It includes a `Dockerfile` for building a Docker image with the application, and a `Jenkinsfile` that defines a build pipeline for it.

https://getintodevops.com

Changes by /u/pythoninthegrass

stage('Initialize'){
        def dockerHome = tool 'my_docker'
        env.PATH = "${dockerHome}/bin:${env.PATH}"
    }
  • From same SO thread, bound host Docker with run/compose variables
-v /var/run/docker.sock:/var/run/docker.sock
-v /usr/bin/docker:/usr/bin/docker

About

A Hello World HTTP server in Node, with a Dockerfile and a Jenkinsfile


Languages

Language:JavaScript 65.7%Language:Dockerfile 34.3%