mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
Merge pull request #6784 from dokku/josegonzalez-patch-1
Remove --restart docker arguments when not running deploy-phase containers
This commit is contained in:
@@ -37,6 +37,14 @@ trigger-docker-options-docker-args() {
|
||||
\#*)
|
||||
continue
|
||||
;;
|
||||
|
||||
--restart*)
|
||||
if [[ "$PHASE" == "deploy" ]]; then
|
||||
local output="$output $line"
|
||||
fi
|
||||
continue
|
||||
;;
|
||||
|
||||
*)
|
||||
case "$IMAGE_SOURCE_TYPE" in
|
||||
dockerfile | nixpacks)
|
||||
|
||||
Reference in New Issue
Block a user