From ceae555e432f401717a129ef5970665a471127ef Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 18 Jan 2024 22:28:34 -0500 Subject: [PATCH] docs: revert docs --- docs/processes/one-off-tasks.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/processes/one-off-tasks.md b/docs/processes/one-off-tasks.md index 60ab9844a..11419dc94 100644 --- a/docs/processes/one-off-tasks.md +++ b/docs/processes/one-off-tasks.md @@ -20,9 +20,8 @@ The `run` command can be used to run a one-off process for a specific command. T > New as of 0.25.0, this container will be removed after the process exits. ```shell -# runs `ls` in the `/app` directory of the app `node-js-app` -# -dokku run node-js-app ls +# runs `ls -lah` in the `/app` directory of the app `node-js-app` +dokku run node-js-app ls -lah # optionally, run can be passed custom environment variables dokku run --env "NODE_ENV=development" --env "PATH=/custom/path" node-js-app npm run mytask