Sign inSign up

boringcodes/dev-runner

By boringcodes

•Updated over 5 years ago

🍭 Boring Docker Local Development Runner - @boringcodes

Image
0

3.7K

boringcodes/dev-runner repository overview

⁠dev-runner

Boring Docker Local Development Runner

⁠Features

  • Alpine NodeJS (10, 12, 14, 15, 16)
  • CURL for healthcheck (curl --fail http://${HOST}:${PORT} || exit 1)

⁠Development

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

⁠Usage

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

⁠Contributing

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.

⁠Authors

BoringCodes⁠

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

Size

40.2 MB

Last updated

over 5 years ago

docker pull boringcodes/dev-runner:node-current-alpine