[deprecated] check https://gallery.ecr.aws/hk01/docker-node
100K+
latest 8.15-stretch-v0.1.0 8.15-v0.1.0
8.15-jessie-v0.1.0
8.10-stretch-v0.1.0
RUN /base/scripts/token-init.sh # to init NPM TOKEN
CMD ["/base/scripts/start.sh"] # to generate pm2.config.js if not exist, then pm2-runtime start the server.js
fallback use default pm2.config.js if not provided and start pm2-runtime by calling pm2-config.sh
pm2-config.sh
Generate default pm2.config.js for fallback purpose
Take environment variable NPM_TOKEN and GITHUB_TOKEN NPM_TOKEN for installing private module GITHUB_TOKEN for pulling private github repo then just yarn and git as your local dev environment (subject to the token permission)
PM2_KILL_SIGNAL: SIGTERM # pm2 sent signal to process, default SIGINT
PM2_KILL_TIMEOUT: 25000 # default 1600ms, 1.6s
Content type
Image
Digest
Size
344.3 MB
Last updated
over 4 years ago
docker pull hk01/docker-node:poc-latest-deprecated