-
|
My app build with this dockerfile FROM oven/bun:1.3-debian
RUN useradd -u 1200 -m -d /data -s /bin/bash rootless
USER rootless
WORKDIR /data
# ...
ENTRYPOINT ["bun", "http.js"]And enter container And install $ bun install -g @anthropic-ai/claude-code
bun add v1.3.12 (700fc117)
installed @anthropic-ai/claude-code@2.1.112 with binaries:
- claude
[112.00ms] done
warn: To run "claude", add the global bin folder to $PATH:
/usr/local/binBut cannot found claude bin $ ls /usr/local/bin
bun bunx docker-entrypoint.sh uv uvx
$ tree /data/.bun
- .bun
- install
- cache
- global
- node_modules
- @anthropic-ai
- claude-code |
Beta Was this translation helpful? Give feedback.
Answered by
seepine
Apr 17, 2026
Replies: 1 comment
-
|
The bun bin default FROM oven/bun:1.3-debian
RUN useradd -u 1200 -m -d /data -s /bin/bash rootless
USER rootless
WORKDIR /data
ENV BUN_INSTALL_BIN="/data/.bun/bin"
ENV PATH="$BUN_INSTALL_BIN:$PATH" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
seepine
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The bun bin default
/use/local/bin, must change it