Node js container based on chakracore - source at https://github.com/makevoid/node_container
389
This docker container is a node js container based on chakracore
It features a multi-staged-build
uses buildpack-deps ( ubuntu - https://hub.docker.com/_/buildpack-deps/ - this is a development container, you should probably run on alpine or similar thou, or at least debian :) )
docker run -ti makevoid/node(and build the container yourself)
To test that the container works (it builds and runs):
docker build -t nodecc . && docker run nodeccThis should print the output of console.log(require("lodash")) ( https://github.com/makevoid/node_container/blob/master/Dockerfile#L18 )
Example:
require('lodash')(always bring your lodash with you, when javascripting)
Add your modules too! -> https://github.com/makevoid/node_container/blob/master/Dockerfile#L12-L16
enjoy @makevoid
Content type
Image
Digest
Size
339.6 MB
Last updated
almost 8 years ago
docker pull makevoid/node