FROM node:20-bookworm
RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates \
    && rm -rf /var/lib/apt/lists/* \
    && npm install -g @anthropic-ai/claude-code
WORKDIR /srv
COPY server.js .
RUN mkdir -p /work
EXPOSE 8091
CMD ["node", "server.js"]
