Files
ruflo/v2/docker/docker-test/test-pr228.dockerfile
T
rUvandClaude Opus 4.5 1b6a1971f7 feat(v3): add comprehensive v3 implementation plans and swarm architecture
- Reorganize v3/ into implementation/ subfolders:
  - planning/, architecture/, migration/, integration/
  - security/, adrs/, research/, swarm-plans/

- Add 15-agent concurrent swarm implementation plans:
  - SWARM-OVERVIEW.md: Hierarchical mesh topology, 4 phases
  - AGENT-SPECIFICATIONS.md: 15 agent configs with capabilities
  - TDD-LONDON-SCHOOL-PLAN.md: Mock-first TDD methodology
  - BENCHMARK-OPTIMIZATION.md: Performance targets (2.49x-7.47x)
  - DEPLOYMENT-PLAN.md: Release strategy, CI/CD, rollback
  - GITHUB-ISSUE-TRACKING.md: Issue workflow with agent replies

- Update .claude/settings.json with proper hooks format
- Add bash aliases for claude --dangerously-skip-permissions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 15:40:51 +00:00

52 lines
1.2 KiB
Docker

# Multi-stage Dockerfile for testing PR #228 migration across Node.js versions
ARG NODE_VERSION=20
FROM node:${NODE_VERSION}-alpine
LABEL description="Test environment for PR #228 - Test Suite Migration from Deno to Jest"
LABEL pr_number="228"
LABEL test_scope="jest-migration"
# Install system dependencies
RUN apk add --no-cache \
git \
bash \
python3 \
make \
g++ \
sqlite \
curl
# Set working directory
WORKDIR /app
# Copy package files first for better Docker layer caching
COPY package*.json ./
COPY jest.config.js ./
COPY jest.setup.js ./
COPY tsconfig.json ./
# Install dependencies
RUN npm ci --no-audit --no-fund
# Copy source code and tests
COPY src/ ./src/
COPY tests/ ./tests/
COPY .claude/ ./.claude/
# Copy other necessary files
COPY *.md ./
COPY *.json ./
# Create test directories
RUN mkdir -p /app/test-results /app/coverage
# Health check script
RUN echo '#!/bin/bash\nnode --version\nnpm --version\nnpm list jest ts-jest typescript --depth=0\necho "Container ready for testing"' > /app/healthcheck.sh && chmod +x /app/healthcheck.sh
# Set environment variables for testing
ENV NODE_ENV=test
ENV CI=true
ENV JEST_WORKERS=2
# Default command to run tests
CMD ["npm", "test"]