diff --git a/runphp/runphp b/runphp/runphp index 0fddf35..689f7c2 100755 --- a/runphp/runphp +++ b/runphp/runphp @@ -436,7 +436,7 @@ runphp: lancer une commande dans docker USAGE $MYNAME ci|cu|composer - $MYNAME --exec [options...] command [args...] + $MYNAME command [args...] COMMANDES COMPOSER ci @@ -477,8 +477,14 @@ OPTIONS -e RUNPHP_MODE=docker ) for arg in "${!PROXY_VARS[@]}"; do - args+=(--e "$arg=${PROXY_VARS[$arg]}") + args+=(-e "$arg=${PROXY_VARS[$arg]}") done + if [ -n "$RUNPHP_STANDALONE" ]; then + args+=( + -e "RUNPHP_STANDALONE=1" + -e "RUNPHP_PROJDIR=$PROJDIR" + ) + fi for host in "${HOST_MAPPINGS[@]}"; do args+=(--add-host "$host") done