File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ RUN curl -fsSL https://claude.ai/install.sh | bash && \
4545 cp /root/.local/bin/claude /usr/local/bin/claude && \
4646 chmod 755 /usr/local/bin/claude
4747ENV NODE_PATH=/usr/local/lib/node_modules
48+ ENV PATH="/home/claude/.local/bin:$PATH"
4849
4950# Create non-root user with CLI symlink at expected path, configure settings
5051RUN adduser -D -s /bin/bash claude && \
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3636COPY --from=builder /usr/local/lib/node_modules /usr/local/lib/node_modules
3737COPY --from=builder /usr/local/bin/ /usr/local/bin/
3838ENV NODE_PATH=/usr/local/lib/node_modules
39+ ENV PATH="/home/claude/.local/bin:$PATH"
3940
4041# Install Claude Code CLI via native installer
4142RUN curl -fsSL https://claude.ai/install.sh | bash && \
You can’t perform that action at this time.
0 commit comments