Skip to content

Commit af87560

Browse files
author
Duncan McNaught
committed
fix(build): remove auto Procfile lookup for deis pull
1 parent da7a754 commit af87560

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

src/applications/managing-app-processes.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ specified in the Docker image.
4040
## Declaring Process Types
4141

4242
If you use [Buildpack][buildpacks] or [Dockerfile][dockerfile] builds and want to override or specify additional process
43-
types, simply include a file named `Procfile` in the root of your application's source tree.
43+
types, simply pass a stringified Procfile to the `--procfile` CLI option either inline or as a local file (see examples below)
4444

4545
The format of a `Procfile` is one process type per line, with each line containing the command to invoke:
4646

@@ -60,29 +60,25 @@ web: bundle exec ruby web.rb -p ${PORT:-5000}
6060
sleeper: sleep 900
6161
```
6262

63-
If you are using [remote Docker images][docker image], you may define process types by either running `deis pull` with a
64-
`Procfile` in your working directory, or by passing a stringified Procfile to the `--procfile` CLI option.
63+
If you are using [remote Docker images][docker image] you may also define process types by running `deis pull` while passing a stringified Procfile to the `--procfile` CLI option.
6564

66-
For example, passing process types inline:
65+
Declaring process types examples
66+
67+
* passing process types inline:
6768

6869
```
6970
$ deis pull deis/example-go:latest --procfile="cmd: /app/bin/boot"
7071
```
7172

72-
Read a `Procfile` in another directory:
73+
* Reading a `Procfile`:
7374

7475
```
7576
$ deis pull deis/example-go:latest --procfile="$(cat deploy/Procfile)"
76-
```
77-
78-
Or via a Procfile located in your current, working directory:
7977
80-
```
81-
$ cat Procfile
78+
$ cat deploy/Procfile
8279
cmd: /bin/boot
8380
sleeper: echo "sleeping"; sleep 900
8481
85-
8682
$ deis pull -a steely-mainsail deis/example-go
8783
Creating build... done
8884

0 commit comments

Comments
 (0)