mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Add generic container run command for npm start
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user