Some checks failed
Build and Push Agent / build (push) Failing after 50s
- Node.js Alpine base with Claude Code CLI - MCP configuration for backend communication - Git and development tools pre-installed - K8s deployment manifests - CI/CD workflow for automatic builds Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
27 lines
510 B
Docker
27 lines
510 B
Docker
FROM node:20-alpine
|
|
|
|
# Install system dependencies
|
|
RUN apk add --no-cache \
|
|
git \
|
|
bash \
|
|
curl \
|
|
openssh-client \
|
|
ca-certificates
|
|
|
|
# Install Claude Code CLI
|
|
RUN npm install -g @anthropic-ai/claude-code
|
|
|
|
# Install common development tools
|
|
RUN npm install -g \
|
|
typescript \
|
|
ts-node
|
|
|
|
# Create workspace directory
|
|
WORKDIR /workspace
|
|
|
|
# Copy MCP configuration
|
|
COPY mcp-config.json /root/.claude/config.json
|
|
|
|
# Keep container running and ready for commands
|
|
CMD ["tail", "-f", "/dev/null"]
|