fix: pushd
This commit is contained in:
parent
9b962ad4a4
commit
08616ffee2
1 changed files with 3 additions and 2 deletions
|
|
@ -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 ---
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue