FROM python:3.11-slim WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y --no-install-recommends gcc && rm -rf /var/lib/apt/lists/* # Copy requirements and install COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application source code COPY . . # Expose Web Port (Default 8000 / $PORT support) EXPOSE 8000 ENV PORT=8000 # Start High-Speed Quant Engine CMD ["python", "main.py"]