Files
QingLong/AI/Manim/generative-manim/streamlit/Dockerfile
2025-08-15 09:13:13 +08:00

20 lines
472 B
Docker

FROM python:3.8.0
WORKDIR /app
RUN apt update
RUN apt -y upgrade
RUN apt install -y libcairo2-dev
RUN apt install -y ffmpeg
RUN apt install -y texlive texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science texlive-fonts-extra
RUN apt install -y libpango1.0-dev pkg-config
RUN pip install poetry
COPY pyproject.toml /app/pyproject.toml
RUN poetry install
COPY src /app/src
CMD ["poetry", "run", "streamlit", "run", "/app/src/Generator.py"]