mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 07:52:55 +00:00
BREAKING CHANGES: - Remove complex security middleware, validators, and cache utils - Replace 430-line CLAUDE.md with 156-line simplified version - Remove 5 complex CapRover optimization docs (1,000+ lines) - Add simplified alternatives: * simple_settings.py - Basic Django config * simple_services.py - No-cache agent management * requirements-simple.txt - 10 vs 24 dependencies * Dockerfile.simple - Streamlined container * README-SIMPLE.md - Focused deployment guide RATIONALE: - Original was enterprise-grade (Redis, CSP, security monitoring) - New version focuses on core CapRover deployment needs - 75% reduction in documentation complexity - Removed: Redis, rate limiting, security scanning, rollback systems - Kept: Basic Django, agents, auth, payments, static files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
627 B
Docker
26 lines
627 B
Docker
FROM python:3.11-slim
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Install system dependencies
|
|
RUN apt-get update && apt-get install -y \
|
|
gcc \
|
|
libpq-dev \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Copy and install Python dependencies
|
|
COPY requirements-simple.txt .
|
|
RUN pip install --no-cache-dir -r requirements-simple.txt
|
|
|
|
# Copy application code
|
|
COPY . .
|
|
|
|
# Collect static files
|
|
RUN python manage.py collectstatic --noinput --settings=netcop_hub.simple_settings
|
|
|
|
# Expose port
|
|
EXPOSE 3000
|
|
|
|
# Start gunicorn
|
|
CMD ["gunicorn", "netcop_hub.wsgi:application", "--bind", "0.0.0.0:3000", "--settings", "netcop_hub.simple_settings"] |