mirror of
https://github.com/dokku/dokku.git
synced 2026-05-18 13:15:19 +02:00
The scheduler-run script classified CNB-based images as `herokuish` because `is_image_herokuish_based` returns true for them, which caused the `docker-args-process-run` trigger for builder-pack to skip injecting `--entrypoint launcher`. Without that flag the container fell back to the image entrypoint (`/cnb/process/web`) and dropped the user-supplied arguments. Mirror the deploy-side detection so CNB images set `IMAGE_SOURCE_TYPE=pack`, allowing the launcher entrypoint to be added.
22 lines
326 B
JSON
22 lines
326 B
JSON
{
|
|
"cron": [
|
|
{
|
|
"command": "task",
|
|
"schedule": "5 5 5 5 5"
|
|
}
|
|
],
|
|
"healthchecks": {
|
|
"web": [
|
|
{
|
|
"attempts": 2,
|
|
"content": "python/http.server",
|
|
"name": "check-1",
|
|
"path": "/",
|
|
"timeout": 5,
|
|
"type": "startup",
|
|
"wait": 2
|
|
}
|
|
]
|
|
}
|
|
}
|