Skip to content

influx6/noderel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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