FROM node:22-slim # Python + libs for file processing + smeta-railway deps RUN apt-get update && apt-get install -y --no-install-recommends \ python3 python3-pip python3-venv && \ rm -rf /var/lib/apt/lists/* RUN pip3 install --break-system-packages --no-cache-dir \ openpyxl python-docx pymupdf pandas \ faiss-cpu pyyaml pydantic typer openai rank-bm25 # Claude Code CLI RUN npm install -g @anthropic-ai/claude-code # Worker user with same UID as host mcp-user RUN useradd -m -s /bin/bash -u 1002 worker USER worker WORKDIR /data ENTRYPOINT ["claude"]