FROM node:20-alpine

# Claude Code needs git and bash to operate on repositories
RUN apk add --no-cache git bash curl

# Install Claude Code CLI
RUN npm install -g @anthropic-ai/claude-code

# Install clay web server
RUN npm install -g clay-server

# MCP servers and skills — add packages here to survive container rebuilds
# RUN npm install -g @clay-ai/clay-ralph
# RUN npm install -g @modelcontextprotocol/server-filesystem

RUN mkdir -p /workspace /root/.clay

WORKDIR /workspace

EXPOSE 2633
