Based on node:carbon-alpine provides a simple build environment for git-based node project
993
Where you have node modules that are pulled from a git repository, this provides a simple way of containerising without any hassle. All you need in your project is a simple Dockerfile that has the line: FROM ajdonnison/node:latest. You will also need a .secrets.tgz that is a tar archive that will be extracted into the running users .ssh directory - it should contain any keys used for git and a config to identify which keys to use. In your package.json you need a 'start' target in your scripts section - this will be what is called when the container fires up.
Content type
Image
Digest
Size
21.1 MB
Last updated
almost 8 years ago
docker pull ajdonnison/node