Add generic container run command for npm start
This commit is contained in:
parent
09fabe3021
commit
105c20146c
|
@ -57,5 +57,9 @@ fi
|
||||||
node_args+=("$CLI_PATH" "$@")
|
node_args+=("$CLI_PATH" "$@")
|
||||||
|
|
||||||
# run gemini-code in sandbox container
|
# run gemini-code in sandbox container
|
||||||
# use empty --authfile to skip unnecessary auth refresh overhead
|
if [[ "$CMD" == "podman" ]]; then
|
||||||
$CMD run "${run_args[@]}" --init --authfile <(echo '{}') --workdir "$WORKDIR" "$IMAGE" node "${node_args[@]}"
|
# use empty --authfile to skip unnecessary auth refresh overhead
|
||||||
|
$CMD run "${run_args[@]}" --init --authfile <(echo '{}') --workdir "$WORKDIR" "$IMAGE" node "${node_args[@]}"
|
||||||
|
else
|
||||||
|
$CMD run "${run_args[@]}" --init --workdir "$WORKDIR" "$IMAGE" node "${node_args[@]}"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue