Simple Nodejs docker image built on top of Alpine Linux. By defaults builds nodejs version 9.4.0 with yarn as well.
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
To push just run the following after ensuring docker credentials for docker repository is set:
make push
To run the docker image built using the docker file:
- To run as a non-deamon:
docker run -it ${image_name} --version