Files
isolated-claude-code/Dockerfile

15 lines
293 B
Docker

FROM node:22-alpine
WORKDIR /app
RUN npm install -g @anthropic-ai/claude-code
RUN apk add --no-cache bash
ENV NODE_ENV=production
ENV CLAUDE_CONFIG_DIR=/root/.claude
# Ensure config directory exists
RUN mkdir -p $CLAUDE_CONFIG_DIR
ENTRYPOINT ["/bin/bash", "-c", "claude; exec /bin/bash"]