Skip to content

makevoid/node_container

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

node-container

A nodejs chakracore-based container.


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 :) )

Use this command for the node shell (repl)

docker run -ti makevoid/node

Use this command to test-run the container

(and build the container yourself)


To test that the container works (it builds and runs):

docker build -t nodecc . && docker run nodecc

This should print the output of console.log(require("lodash")) ( https://github.com/makevoid/node_container/blob/master/Dockerfile#L18 )


Install "things" (node modules) globally

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

About

good starting / base / boilerplate dockerfile - dockerize your node app easily

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published