Files
langcode_agent/Dockerfile
T
truetype 0612b290d5 Phase 19: Unified CLI entry point (maxclaw.py)
- Single 'maxclaw' command for all functionality
- Subcommands: chat, server, tui, config, analytics, dashboard, version
- Nested config subcommands: list, add, remove, use, active, test, export, import, search
- Updated README with unified CLI documentation
- Updated Dockerfile to use maxclaw.py
- Added .gitignore for __pycache__
2026-03-21 08:03:47 +01:00

36 lines
757 B
Docker

# MaxClaw Agent Docker Image
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements first for better caching
COPY requirements.txt .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Create directory for configuration
RUN mkdir -p /root/.maxclaw && \
chmod 700 /root/.maxclaw
# Expose port for API (future use)
EXPOSE 8000
# Set environment variables
ENV PYTHONUNBUFFERED=1
ENV MODEL_PROVIDER=ollama
ENV MODEL_NAME=gemma2:9b
ENV OLLAMA_BASE_URL=http://host.docker.internal:11434
# Default command
CMD ["python", "maxclaw.py"]