Commit 365314f
Matthew Fisher
chore(controller): remove $PORT logic from fleet
For buildpack apps, [$PORT is exposed][1] as part of slugrunner's job.
For Dockerfile/Docker images, the internal port numbers are already
known to the developer, so if they want to follow 12-factor best
practices then they will have set up $PORT in their own image.
deis/publisher exposes the port with the lowest numerical value to the
router, which is why the documentation is reflected to show this.
https://github.com/deis/deis/blob/e6a078b4119887b4de73e8a6d04291b7cdeb823b/builder/image/slugrunner/Dockerfile#L10-L121 parent 71fe9b6 commit 365314f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
0 commit comments