Quantarion / DOCKERFILE-BORION.md
Aqarion13's picture
Create DOCKERFILE-BORION.md
3e0dcef verified
|
raw
history blame
1.85 kB
# ==========================================
# TEAM BORION / QUANTARION MODELSPACE DOCKERFILE
# Purpose: Cloud deployment for model development, PDFs, LaTeX, Mermaid, LiveFlow
# Author: TEAM GPT
# ==========================================
# --- Base Image: Use official Python 3.12 slim image ---
FROM python:3.12-slim
# --- Metadata ---
LABEL maintainer="team@borion.ai"
LABEL description="Cloud-ready Quantarion ModelSpace environment with PDF, LaTeX, Mermaid, LiveFlow"
# --- Set Environment ---
ENV DEBIAN_FRONTEND=noninteractive \
PYTHONUNBUFFERED=1 \
LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \
MODELSPACE_HOME=/workspace/quantarion
# --- Create workspace ---
WORKDIR $MODELSPACE_HOME
# --- Install system dependencies ---
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
git \
curl \
wget \
unzip \
cmake \
pkg-config \
latexmk \
texlive-latex-base \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-fonts-extra \
texlive-bibtex-extra \
pandoc \
nodejs \
npm \
graphviz \
python3-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# --- Install Mermaid CLI globally for diagrams ---
RUN npm install -g @mermaid-js/mermaid-cli
# --- Python dependencies ---
COPY requirements.txt .
RUN pip install --upgrade pip setuptools wheel \
&& pip install -r requirements.txt
# Example requirements.txt content (you can edit)
# torch
# transformers
# pandas
# numpy
# matplotlib
# jupyterlab
# pyyaml
# requests
# fpdf
# seaborn
# pygments
# liveflow-sdk # hypothetical LiveFlow Python SDK
# --- Optional: Add Quantarion repo ---
# COPY . $MODELSPACE_HOME
# RUN pip install -e .
# --- Expose ports for Jupyter / LiveFlow ---
EXPOSE 8888 3000
# --- Entrypoint for interactive session ---
CMD ["bash"]