fix app.json extraction in dockerfile apps not using /app. closes #2300

This commit is contained in:
Michael Hobbs
2016-07-06 10:41:44 -07:00
parent 0c5123410b
commit 01d65fccdd
4 changed files with 7 additions and 6 deletions

View File

@@ -13,7 +13,8 @@ Common use cases include:
Dokku accomplishes this by using an `app.json` file. The format in use is similar to format of 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 or for dockerfile apps, `ADD` it to /app.
For buildpack apps, simply place an `app.json` file in the root of your repository.
For dockerfile apps, place `app.json` in the configured `WORKDIR` directory; otherwise dokku defaults to the buildpack app behavior of looking in `/app`.
>NOTE: postdeploy changes are *NOT* committed to the app image.
### Example app.json