Merge pull request #6784 from dokku/josegonzalez-patch-1

Remove --restart docker arguments when not running deploy-phase containers
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2024-08-26 00:41:56 -04:00
commit eba37acafe
1 file changed
+8
@@ -37,6 +37,14 @@ trigger-docker-options-docker-args() {
\#*) \#*)
continue continue
;; ;;
--restart*)
if [[ "$PHASE" == "deploy" ]]; then
local output="$output $line"
fi
continue
;;
*) *)
case "$IMAGE_SOURCE_TYPE" in case "$IMAGE_SOURCE_TYPE" in
dockerfile | nixpacks) dockerfile | nixpacks)