https://github.com/robertoachar/docker-node
:whale: A playground for Docker with Node.
https://github.com/robertoachar/docker-node
docker docker-compose live-reload node nodemon
Last synced: 2 months ago
JSON representation
:whale: A playground for Docker with Node.
- Host: GitHub
- URL: https://github.com/robertoachar/docker-node
- Owner: robertoachar
- License: mit
- Created: 2017-11-07T16:37:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-20T16:26:14.000Z (about 7 years ago)
- Last Synced: 2024-12-26T07:42:24.942Z (4 months ago)
- Topics: docker, docker-compose, live-reload, node, nodemon
- Language: JavaScript
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-node
[![License][license-badge]][license-url]
> A playground for Docker with Node.
# Development
* Cloning the repo
```bash
$ git clone https://github.com/robertoachar/docker-node.git
```* Installing dependencies
```bash
$ npm install
```* Running scripts
| Action | Usage |
| ------------------------- | -------------- |
| Starting development mode | `npm start` |
| Linting code | `npm run lint` |# Docker
* Building an image
```bash
$ docker-compose build
```* Running a container
```bash
$ docker-compose up
```* Stopping a container
```bash
$ docker-compose down
```# Author
[Roberto Achar](https://twitter.com/robertoachar)
# License
[MIT](https://github.com/robertoachar/docker-node/blob/master/LICENSE)
[license-badge]: https://img.shields.io/github/license/robertoachar/docker-node.svg
[license-url]: https://opensource.org/licenses/MIT