Equivalent of Google's JIB for Node.JS?
Yes, Heroku has a Node.js Buildpack. You can run it using the Pack CLI like this:
$ pack build myimage --builder heroku/buildpacks:18 --buildpack heroku/nodejs
For posterity, I'll list some NodeJS-native Docker image creation packages (these usually can be added to your project's package.json
). In no particular order:
- nodejs-container-image-builder - container registry client and image builder with no dependency on docker (by Google)
- Dockta - A Docker image builder for researchers
- EZDocker - build docker images in Javascript
I did try Dockta and it has SUPER simple one-liner docker file/image build (either a simple package.json
script or direct command line), it works nicely.