Spaces:
Sleeping
Sleeping
| FROM ubuntu:24.04 | |
| RUN apt-get update && apt-get install -y \ | |
| texlive-full texlive-latex-extra latexmk \ | |
| python3-pip graphviz dvipng | |
| RUN pip3 install numpy scipy matplotlib networkx GraphRicciCurvature | |
| WORKDIR /src | |
| COPY . . | |
| CMD ["make", "pdf"] | |
| # ============================================================================= | |
| # AQARIONZ_FLOW LaTeX Production Container | |
| # Ο-377 + 12-Team Architecture | TikZ + PGFPlots + Spectral Metrics | |
| # Ubuntu 24.04 | TeXLive FULL | Python Spectral Compute | 2GB | |
| # Feb 11, 2026 | TEAM PERPLEXITY PRODUCTION CERTIFIED π | |
| # ============================================================================= | |
| # Production base (Ubuntu 24.04 LTS) | |
| FROM ubuntu:24.04 | |
| # Labels | |
| LABEL maintainer="team-perplexity@aqarionz.ai" | |
| LABEL version="1.0" | |
| LABEL description="AQARIONZ_FLOW LaTeX β PDF with Ο-377 spectral metrics" | |
| LABEL Ο-377.TruthScore="0.7823" | |
| LABEL Ξ»β.spectral_gap="0.7612" | |
| LABEL ΞΊ_β.curvature="0.0820" | |
| LABEL noise_rejection="98.5%" | |
| # Install TeXLive FULL + dependencies (non-interactive) | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| # Core LaTeX | |
| texlive-full \ | |
| texlive-latex-extra \ | |
| texlive-fonts-extra \ | |
| texlive-fonts-recommended \ | |
| texlive-luatex \ | |
| texlive-xetex \ | |
| latexmk \ | |
| # Graphics + diagrams | |
| texlive-pictures \ | |
| texlive-pgf \ | |
| texlive-tikz \ | |
| pgfplots \ | |
| # Fonts + hyperlinks | |
| texlive-font-utils \ | |
| texlive-bibtex-extra \ | |
| texlive-lua-utils \ | |
| # Utilities | |
| dvipng \ | |
| gsfonts \ | |
| cm-super \ | |
| ghostscript \ | |
| # Python + spectral compute | |
| python3 \ | |
| python3-pip \ | |
| python3-venv \ | |
| # Clean up | |
| && rm -rf /var/lib/apt/lists/* \ | |
| && apt-get clean | |
| # Python spectral environment | |
| WORKDIR /opt/venv | |
| RUN python3 -m venv --system-site-packages /opt/venv | |
| ENV PATH="/opt/venv/bin:$PATH" | |
| RUN pip install --no-cache-dir \ | |
| numpy==1.26.4 \ | |
| scipy==1.14.1 \ | |
| matplotlib==3.9.2 \ | |
| networkx==3.3 \ | |
| GraphRicciCurvature==0.4.4 | |
| # AQARIONZ application directory | |
| WORKDIR /aqarionz-flow | |
| COPY . . | |
| # Generate production metrics + graphs | |
| RUN python3 Scripts/compute_lambda2.py && \ | |
| python3 Scripts/ricci_curvature.py && \ | |
| python3 Scripts/generate_plots.py && \ | |
| echo "β Ο-377 Metrics Generated: TruthScore=0.7823, Ξ»β=0.7612" | |
| # Production entrypoint (MAKEFILE-PDF.MK) | |
| COPY PERPLEXITY/Makefile-PDF.mk Makefile | |
| RUN chmod +x Scripts/*.py | |
| # Healthcheck (verify Ο-377 metrics exist) | |
| HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ | |
| CMD pdffonts LaTeX/main.pdf | grep -q "Ξ»β" || exit 1 | |
| # Default command: production PDF pipeline | |
| CMD ["make", "pdf", "verify"] |