CascadingDev/Dockerfile

40 lines
996 B
Docker

# CascadingDev - Git-native AI-human collaboration framework
# Build: docker build -t cascadingdev .
# Test: docker run --rm cascadingdev cdev doctor
FROM python:3.12-slim
LABEL maintainer="rob"
LABEL description="CascadingDev - Build installer bundles for AI-human collaboration"
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy project files
COPY pyproject.toml VERSION README.md ./
COPY src/ ./src/
COPY assets/ ./assets/
COPY tools/ ./tools/
COPY tests/ ./tests/
COPY config/ ./config/
COPY automation/ ./automation/
COPY agents/ ./agents/
# Install CascadingDev
RUN pip install --no-cache-dir -e .
# Create install output directory
RUN mkdir -p /app/install
# Configure git for testing
RUN git config --global user.email "test@example.com" && \
git config --global user.name "Test User"
# Default command - show help
CMD ["cdev", "--help"]