An open API service indexing awesome lists of open source software.

https://github.com/boringcodes/dev-runner

🍭 Boring Docker Local Development Runner - @boringcodes
https://github.com/boringcodes/dev-runner

alpine boringcodes docker nodejs

Last synced: 2 months ago
JSON representation

🍭 Boring Docker Local Development Runner - @boringcodes

Awesome Lists containing this project

README

        


dev-runner


Boring Docker Local Development Runner





















## Features

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

## Development

Build node.js alpine images

```bash
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

```bash
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](https://github.com/boringcodes)

## License

[MIT](https://github.com/boringcodes/dev-runner/blob/master/LICENSE)