Merge pull request #2018 from pascalw/feature/dokku-run-from-procfile

Support running Procfile commands using `dokku run`
This commit is contained in:
Michael Hobbs
2016-06-16 12:42:01 -07:00
committed by GitHub
4 changed files with 35 additions and 0 deletions

View File

@@ -15,6 +15,17 @@ The `run` command can be used to run a one-off process for a specific command. T
dokku run node-js-app ls -lah
```
The `run` command can also be used to run a command defined in your Procfile:
```
console: bundle exec racksh
```
```shell
# runs `bundle exec racksh` in the `/app` directory of the application `my-app`
dokku run my-app console
```
If you want to remove the container after a command has started, you can run the following command:
```shell