fix: pushd

This commit is contained in:
Andy Bunce 2026-03-17 15:40:57 +00:00
parent 9b962ad4a4
commit 08616ffee2

View file

@ -28,10 +28,11 @@ ENV PATH="$BUN_INSTALL/bin:$PATH"
RUN curl -fsSL https://bun.sh/install | bash RUN curl -fsSL https://bun.sh/install | bash
# use bun for node, npx # use bun for node, npx
RUN pushd /usr/local/bin && \ RUN ( \
cd /usr/local/bin && \
echo '#!/bin/sh' %3E npx && echo 'exec bunx "$@"' >> npx && chmod +x npx && \ echo '#!/bin/sh' %3E npx && echo 'exec bunx "$@"' >> npx && chmod +x npx && \
echo '#!/bin/sh' %3E node && echo 'exec bun "$@"' >> node && chmod +x node && \ echo '#!/bin/sh' %3E node && echo 'exec bun "$@"' >> node && chmod +x node && \
popd )
# --- NEW SECTION: RUST SETUP --- # --- NEW SECTION: RUST SETUP ---