Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 614 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 614 Bytes

Noderel

Simple Nodejs docker image built on top of Alpine Linux. By defaults builds nodejs version 9.4.0 with yarn as well.

Build

To build just run the following:

make build

You can set version of build by setting VERSION environment variable to set custom version. It defaults to 0.0.1.

VERSION=0.1.0 make build

Push

To push just run the following after ensuring docker credentials for docker repository is set:

make push

Run

To run the docker image built using the docker file:

  • To run as a non-deamon:
docker run -it ${image_name} --version