FROM node:22-slim

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
      git \
      curl \
      openssh-client \
      ca-certificates && \
    rm -rf /var/lib/apt/lists/*

RUN npm install -g @anthropic-ai/claude-code

RUN useradd -m -s /bin/bash claudito

USER claudito
WORKDIR /workspace
