28 lines
774 B
Text
28 lines
774 B
Text
|
|
FROM node:20-bookworm-slim
|
||
|
|
|
||
|
|
# Install build deps for native modules (node-pty, better-sqlite3, bcrypt)
|
||
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||
|
|
build-essential python3 python3-setuptools \
|
||
|
|
jq ripgrep sqlite3 zip unzip tree vim-tiny curl git \
|
||
|
|
&& rm -rf /var/lib/apt/lists/*
|
||
|
|
|
||
|
|
# Install Claude Code CLI globally
|
||
|
|
RUN npm install -g @anthropic-ai/claude-code
|
||
|
|
|
||
|
|
# Install CloudCLI (claudecodeui) globally
|
||
|
|
RUN npm install -g @cloudcli-ai/cloudcli
|
||
|
|
|
||
|
|
# Install Taskmaster MCP
|
||
|
|
RUN npm install -g task-master-ai
|
||
|
|
|
||
|
|
# Create workspace and data dirs with correct ownership
|
||
|
|
RUN mkdir -p /home/node/workspace /home/node/.cloudcli \
|
||
|
|
&& chown -R node:node /home/node/
|
||
|
|
|
||
|
|
USER node
|
||
|
|
WORKDIR /home/node
|
||
|
|
|
||
|
|
EXPOSE 3001
|
||
|
|
|
||
|
|
CMD ["cloudcli", "start", "--port", "3001"]
|