Add process-type label for run with procfile cmd
This commit is contained in:
1 parent
8d4fc1f883
commit
00411decf5
1 file changed
+1
@@ -83,6 +83,7 @@ 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}"
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user