From d356cef183c88eea12bb5f53c6dc9a2d59d29806 Mon Sep 17 00:00:00 2001 From: Marc Diethelm Date: Sat, 27 Apr 2019 14:17:59 +0200 Subject: [PATCH] Adds an example how to specify a Dockerfile for deployment --- docs/deployment/methods/dockerfiles.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/deployment/methods/dockerfiles.md b/docs/deployment/methods/dockerfiles.md index 4a8458fa9..4433c6cb5 100644 --- a/docs/deployment/methods/dockerfiles.md +++ b/docs/deployment/methods/dockerfiles.md @@ -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' ```