Spaces:
Sleeping
Sleeping
| FROM python:3.10 | |
| # Install Node.js and npm (for Claude/Gemini CLIs) | |
| RUN apt-get update && apt-get install -y \ | |
| nodejs \ | |
| npm \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy project files | |
| COPY . . | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN pip install --no-cache-dir . | |
| # Install Agent CLIs | |
| # Aider is installed via pip (already in requirements or setup.py, but ensuring here) | |
| RUN pip install --no-cache-dir aider-chat | |
| # Gemini and Claude CLIs via npm | |
| RUN npm install -g @google/gemini-cli @anthropic-ai/claude-code | |
| # Create data directory for persistence | |
| RUN mkdir -p data | |
| RUN chmod 777 data | |
| # Expose port 7860 for Hugging Face Spaces | |
| EXPOSE 7860 | |
| # Run the application | |
| CMD ["python", "app.py"] | |