🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
🔖 Checkpoint: Edit /workspaces/claude-code-flow/user-service/Dockerfile
rUv98ef4fe3b273
diff --git a/.claude/checkpoints/1754489125.json b/.claude/checkpoints/1754489125.jsonnew file mode 100644index 0000000000..a64d3bf82d--- /dev/null+++ b/.claude/checkpoints/1754489125.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250806-140525", "file": "/workspaces/claude-code-flow/user-service/tests/integration/user.routes.test.ts", "timestamp": "2025-08-06T14:05:25Z", "type": "pre-edit", "original_branch": "alpha-88"}diff --git a/.claude/checkpoints/1754489127.json b/.claude/checkpoints/1754489127.jsonnew file mode 100644index 0000000000..b2b9bef76c--- /dev/null+++ b/.claude/checkpoints/1754489127.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250806-140527", "file": "/workspaces/claude-code-flow/user-service/tests/integration/user.routes.test.ts", "timestamp": "2025-08-06T14:05:27Z", "type": "post-edit", "branch": "alpha-88", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 2572 +------------------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754489077.json | 1 + .claude/checkpoints/1754489079.json | 1 + benchmark/.claude-flow/metrics/performance.json | 2 +- benchmark/.claude-flow/metrics/task-metrics.json | 6 +- benchmark/.claude/checkpoints/1754489088.json | 1 + benchmark/.claude/checkpoints/1754489098.json | 1 + benchmark/.claude/checkpoints/1754489119.json | 1 + claude-flow-wiki | 0 user-service/tests/integration/user.routes.test.ts | 251 ++ 12 files changed, 374 insertions(+), 2470 deletions(-) "}diff --git a/benchmark/.claude/checkpoints/1754489137.json b/benchmark/.claude/checkpoints/1754489137.jsonnew file mode 100644index 0000000000..39aa70fcac--- /dev/null+++ b/benchmark/.claude/checkpoints/1754489137.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250806-140536", "file": "/workspaces/claude-code-flow/claude-flow-wiki/Benchmark-System.md", "timestamp": "2025-08-06T14:05:37Z", "type": "pre-edit", "original_branch": "alpha-88"}diff --git a/user-service/Dockerfile b/user-service/Dockerfilenew file mode 100644index 0000000000..3df91646b1--- /dev/null+++ b/user-service/Dockerfile@@ -0,0 +1,60 @@+# Build stage+FROM node:20-alpine AS builder++WORKDIR /app++# Copy package files+COPY package*.json ./+COPY tsconfig.json ./++# Install dependencies+RUN npm ci++# Copy source code+COPY src ./src++# Build application+RUN npm run build++# Production stage+FROM node:20-alpine++WORKDIR /app++# Install dumb-init for proper signal handling+RUN apk add --no-cache dumb-init++# Create non-root user+RUN addgroup -g 1001 -S nodejs && \+ adduser -S nodejs -u 1001++# Copy package files+COPY package*.json ./++# Install production dependencies only+RUN npm ci --only=production && \+ npm cache clean --force++# Copy built application+COPY --from=builder /app/dist ./dist++# Copy environment example+COPY .env.example .env.example++# Create logs directory+RUN mkdir -p logs && \+ chown -R nodejs:nodejs /app++# Switch to non-root user+USER nodejs++# Expose port+EXPOSE 3000++# Health check+HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \+ CMD node -e "require('http').get('http://localhost:3000/health', (r) => r.statusCode === 200 ? process.exit(0) : process.exit(1))"++# Start application with dumb-init+ENTRYPOINT ["dumb-init", "--"]+CMD ["node", "dist/index.js"]\ No newline at end of file