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
- Host: GitHub
- URL: https://github.com/boringcodes/dev-runner
- Owner: boringcodes
- License: mit
- Created: 2021-01-13T03:44:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-14T07:20:27.000Z (almost 4 years ago)
- Last Synced: 2025-03-22T05:33:03.156Z (2 months ago)
- Topics: alpine, boringcodes, docker, nodejs
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/boringcodes/dev-runner
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## 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)