Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pedrolamas/docker-nodejs-info

:package: Docker image for nodejs-info
https://github.com/pedrolamas/docker-nodejs-info

docker docker-image nodejs-info

Last synced: about 1 month ago
JSON representation

:package: Docker image for nodejs-info

Awesome Lists containing this project

README

        

# docker-nodejs-info

[![Project Maintenance](https://img.shields.io/maintenance/yes/2022.svg)](https://github.com/pedrolamas/docker-nodejs-info 'GitHub Repository')
[![License](https://img.shields.io/github/license/pedrolamas/docker-nodejs-info.svg)](https://github.com/pedrolamas/docker-nodejs-info/blob/master/LICENSE 'License')

[![CI](https://github.com/pedrolamas/docker-nodejs-info/workflows/CI/badge.svg)](https://github.com/pedrolamas/docker-nodejs-info/actions 'Build Status')

[![Twitter Follow](https://img.shields.io/twitter/follow/pedrolamas?style=social)](https://twitter.com/pedrolamas '@pedrolamas')

Simple Docker image running a Node.js server with [nodejs-info](https://github.com/chrisveness/nodejs-info#readme)

## Usage

Create and run the new container as you would normally do:

```sh
docker run -d \
--name nodejs-info \
--net=host \
ei99070/docker-nodejs-info
```

By default the server runs on port 3000, but this can be changed by specifying the `PORT` environment variable.

```sh
docker run -d \
--name nodejs-info \
--net=host \
-e PORT= \
ei99070/docker-nodejs-info
```

## License

MIT