-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathDockerfile
More file actions
51 lines (39 loc) · 1.58 KB
/
Dockerfile
File metadata and controls
51 lines (39 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
FROM node:22-slim AS base
# System deps
RUN apt-get update && apt-get install -y \
python3 python3-pip python3-venv \
curl git jq screen \
&& rm -rf /var/lib/apt/lists/*
# Install uv
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:$PATH"
# Install Claude Code CLI
RUN npm install -g @anthropic-ai/claude-code
# Install GitHub CLI
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& apt-get update && apt-get install -y gh && rm -rf /var/lib/apt/lists/*
# Install todoist CLI
RUN npm install -g todoist-ts-cli
WORKDIR /workspace
# Copy project files
COPY pyproject.toml uv.lock ./
# Install Python deps
RUN uv venv .venv && uv sync
# Copy workspace
COPY . .
# Timezone
ENV TZ=America/Sao_Paulo
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Volumes for persistent data
VOLUME ["/workspace/workspace/daily-logs", \
"/workspace/workspace/projects", \
"/workspace/workspace/community", \
"/workspace/workspace/finance", \
"/workspace/workspace/personal", \
"/workspace/workspace/meetings", \
"/workspace/workspace/strategy", \
"/workspace/memory", \
"/workspace/ADWs/logs", \
"/workspace/.claude/agent-memory"]
ENTRYPOINT ["uv", "run", "python"]