Update README.md

Mentioned of npm_modules in .dockerignore when using onbuild image
This commit is contained in:
Joan-Diego Rodriguez 2016-08-24 12:07:43 +02:00 committed by GitHub
parent 8e1370ea54
commit d84f90c86e
1 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,12 @@ The image assumes that your application has a file named
dependencies and defining its [start
script](https://docs.npmjs.com/misc/scripts#default-values).
It also assumes that you have a file named [`.dockerignore`](https://docs.docker.com/engine/reference/builder/#/dockerignore-file) otherwise it will copy your local npm modules:
```
npm_modules
```
We have assembled a [Best Practices Guide](./docs/BestPractices.md) for those using these images on a daily basis.
## Run a single Node.js script