feat: add bash for better support for claude's terminal usage

This commit is contained in:
2025-10-29 00:21:15 +05:30
parent 76e753b0bb
commit 139ad9d26a

View File

@@ -5,6 +5,8 @@ ENV PATH=$NPM_CONFIG_PREFIX/bin:$PATH
ENV NODE_ENV=production
ENV CLAUDE_CONFIG_DIR=/home/node/.claude
RUN apk add --no-cache bash
USER node
WORKDIR /home/node/app
@@ -15,4 +17,4 @@ RUN mkdir -p $CLAUDE_CONFIG_DIR
# Since we destroy the container after exiting, claude code never gets updated.
# Updating at the start making sure its up to date.
ENTRYPOINT ["/bin/sh", "-c", "npm update -g @anthropic-ai/claude-code; claude; exec /bin/sh"]
ENTRYPOINT ["/bin/bash", "-c", "npm update -g @anthropic-ai/claude-code; claude; exec /bin/bash"]