项目作者: influx6

项目描述 :
Nodejs on alpine linux
高级语言: Makefile
项目地址: git://github.com/influx6/noderel.git
创建时间: 2018-01-31T11:45:05Z
项目社区:https://github.com/influx6/noderel

开源协议:MIT License

下载


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:

  1. make build

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

  1. VERSION=0.1.0 make build

Push

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

  1. make push

Run

To run the docker image built using the docker file:

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