forked from agentsea/flashbacker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
51 lines (40 loc) · 1005 Bytes
/
Dockerfile
File metadata and controls
51 lines (40 loc) · 1005 Bytes
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
# Flashbacker - Claude Code state management
# For b00t datum registry integration
FROM node:22-alpine
# Install build dependencies for native modules
RUN apk add --no-cache \
python3 \
make \
g++ \
git \
bash
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
COPY tsconfig.json ./
# Copy source and templates
COPY src/ ./src/
COPY bin/ ./bin/
COPY templates/ ./templates/
COPY scripts/ ./scripts/
# Install and build
RUN npm ci --production=false && \
npm run build && \
npm link
# Copy flashbacker-mcp server
COPY flashbacker-mcp ./
RUN chmod +x flashbacker-mcp
# Create workspace
RUN mkdir -p /workspace
WORKDIR /workspace
# Verify installation
RUN flashback --version
# Labels for b00t datum registry
LABEL maintainer="flashbacker"
LABEL description="Claude Code state management with session continuity"
LABEL version="2.4.1"
LABEL b00t.datum="flashbacker"
LABEL b00t.type="docker"
# Default: show help
CMD ["flashback", "--help"]