diff --git a/docker-images/Dockerfile.agent b/docker-images/Dockerfile.agent index 3cdf29d..c398413 100644 --- a/docker-images/Dockerfile.agent +++ b/docker-images/Dockerfile.agent @@ -27,12 +27,10 @@ ENV BUN_INSTALL="/root/.bun" ENV PATH="$BUN_INSTALL/bin:$PATH" RUN curl -fsSL https://bun.sh/install | bash -# use bunx for npx -RUN mkdir -p ~/.local/bin && \ - echo '#!/bin/sh' %3E /usr/local/bin/npx && \ - echo 'exec bunx "$@"' >> /usr/local/bin/npx && \ - chmod +x /usr/local/bin/npx - +# use bun for node, npx +RUN cd /usr/local/bin && \ + echo '#!/bin/sh' %3E npx && echo 'exec bunx "$@"' >> npx && chmod +x npx && \ + echo '#!/bin/sh' %3E node && echo 'exec bun "$@"' >> node && chmod +x node # --- NEW SECTION: RUST SETUP ---