🍭 Boring Docker Local Development Runner - @boringcodes
3.7K
curl --fail http://${HOST}:${PORT} || exit 1)Build node.js alpine images
docker build -t boringcodes/dev-runner:node-10-alpine node/10
docker build -t boringcodes/dev-runner:node-12-alpine node/12
docker build -t boringcodes/dev-runner:node-14-alpine node/14 # :node-lts-alpine
docker build -t boringcodes/dev-runner:node-15-alpine node/15
docker build -t boringcodes/dev-runner:node-16-alpine node/16 # :node-current-alpine
Example use of boringcodes/dev-runner:node-current-alpine to run your node.js app
docker run --rm -d -v $PWD:/app -e HOST=localhost -e PORT=9000 -p 80:9000 boringcodes/dev-runner:node-current-alpine
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Content type
Image
Digest
Size
40.2 MB
Last updated
over 5 years ago
docker pull boringcodes/dev-runner:node-current-alpine