- Migrated from HIVE branding to WHOOSH across all components - Enhanced backend API with new services: AI models, BZZZ integration, templates, members - Added comprehensive testing suite with security, performance, and integration tests - Improved frontend with new components for project setup, AI models, and team management - Updated MCP server implementation with WHOOSH-specific tools and resources - Enhanced deployment configurations with production-ready Docker setups - Added comprehensive documentation and setup guides - Implemented age encryption service and UCXL integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
44 lines
1019 B
Docker
44 lines
1019 B
Docker
# Test-friendly Dockerfile for WHOOSH Backend
|
|
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install system dependencies
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
postgresql-client \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Copy requirements and install Python dependencies
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Install additional testing dependencies
|
|
RUN pip install --no-cache-dir \
|
|
pytest \
|
|
pytest-asyncio \
|
|
pytest-cov \
|
|
requests \
|
|
httpx
|
|
|
|
# Copy application code
|
|
COPY . .
|
|
|
|
# Create directory for templates
|
|
RUN mkdir -p /app/templates
|
|
|
|
# Set environment variables
|
|
ENV PYTHONPATH=/app
|
|
ENV ENVIRONMENT=testing
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
# Expose port
|
|
EXPOSE 8087
|
|
|
|
# Health check
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|
CMD curl -f http://localhost:8087/health || exit 1
|
|
|
|
# Start command
|
|
CMD ["python", "-m", "uvicorn", "app.main_test:app", "--host", "0.0.0.0", "--port", "8087", "--reload"] |