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:
commit
273cfc1013
1 file changed
+2
-2
@@ -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).
|
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`.
|
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.
|
Simply place an `app.json` file in the root of your repository or for dockerfile apps, `ADD` it to /app.
|
||||||
NOTE: `app.json` is only supported in buildpack-deployed apps and postdeploy changes are not committed to the app image.
|
NOTE: postdeploy changes are *NOT* committed to the app image.
|
||||||
|
|
||||||
### Example app.json
|
### Example app.json
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user