Merge pull request #2002 from dokku/mh-dep-tasks-docs

clarify deployment tasks are supported in both buildpack and dockerfile apps
This commit is contained in:
Michael Hobbs
2016-03-16 13:51:33 -07:00

View File

@@ -13,8 +13,8 @@ Common use cases include:
Dokku accomplishes this by using an `app.json` file. We (mostly) use the same format as Heroku's [app.json](https://devcenter.heroku.com/articles/app-json-schema).
However, dokku currently only supports the nodes `scripts.dokku.predeploy` and `scripts.dokku.postdeploy`.
Simply place an `app.json` file in the root of your repository.
NOTE: `app.json` is only supported in buildpack-deployed apps and postdeploy changes are not committed to the app image.
Simply place an `app.json` file in the root of your repository or for dockerfile apps, `ADD` it to /app.
NOTE: postdeploy changes are *NOT* committed to the app image.
### Example app.json