Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.09 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.09 KB

simple-node-js-react-npm-app

This repository is for the Build a Node.js and React app with npm tutorial in the Jenkins User Documentation.

The repository contains a simple Node.js and React application which generates a web page with the content "Welcome to React" and is accompanied by a test to check that the application renders satisfactorily.

The jenkins directory contains an example of the Jenkinsfile (i.e. Pipeline) you'll be creating yourself during the tutorial and the scripts subdirectory contains shell scripts with commands that are executed when Jenkins processes the "Test" and "Deliver" stages of your Pipeline.

Using the Registry

Manually:

docker image build -t localhost:5000/simple-react-app .

Push:

docker push localhost:5000/simple-react-app

Remove local image:

docker image rm localhost:5000/simple-react-app

Pull:

docker pull localhost:5000/simple-react-app

TODO - Set up Jenkins to build and push images into registry