Adds an example how to specify a Dockerfile for deployment

This commit is contained in:
Marc Diethelm
2019-04-27 14:17:59 +02:00
parent c49d849917
commit d356cef183

View File

@@ -26,6 +26,7 @@ For security reasons - and as per [Docker recommendations](https://github.com/do
For users that require customization in the `build` phase, you may use build arguments via the [docker-options plugin](docs/advanced-usage/docker-options.md):
```shell
dokku docker-options:add node-js-app build '--file Dockerfile.dokku' # e.g. to use alternate Dockerfile
dokku docker-options:add node-js-app build '--build-arg NODE_ENV=production'
```