Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 272 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 272 Bytes

dockgen

Autogenerate Dockerfile from package.json

Usage

Commandline-Mode:

$ dockgen # Looks for package.json in current directory

Lib-Mode:

var dockgen = require('dockgen'),
    dockerfile = dockgen(path_to_package.json);

console.log(dockerfile);