##Description Basic Node JS server template
##Usage
COPY_TO_VOLUME to false if contents should not be overwritten (useful in development)INDEX_DIR to location of index.js, if not /var/www (useful in development)run.sh is executednodemon ${INDEX_DIR}/index.js by default, exposes port 80##onbuild tag
Build an app and run it out of the box.
src/ at build-root
src/index.js, which is run by defaultsrc/package.json for npm install, which runs during build##Debugging
node-inspector --web-port 8080 > /dev/null 2>&1 &, or run in separate screen (not sure how to suppress output)node debug index.jsContent type
Image
Digest
sha256:743a6076a…
Size
115.9 MB
Last updated
almost 11 years ago
docker pull shinymayhem/node