fix: ensure we can execute run commands when exec is executed as part of an entrypoint

Closes #8052
This commit is contained in:
Jose Diaz-Gonzalez
2025-11-19 20:34:51 -05:00
parent 2bd4272424
commit 6f095271e1
5 changed files with 47 additions and 1 deletions

View File

@@ -109,7 +109,8 @@ trigger-scheduler-docker-local-scheduler-run() {
if [[ -n "$PROC_CMD" ]]; then
dokku_log_info1_quiet "Found '$POTENTIAL_PROCFILE_KEY' in Procfile, running that command"
DOCKER_ARGS+=" --label=com.dokku.process-type=$POTENTIAL_PROCFILE_KEY"
set -- "$PROC_CMD" "${@:2}"
read -ra proc_array <<<"$PROC_CMD"
set -- "${proc_array[@]}" "${@:2}"
fi
fi