1 Star 0 Fork 0

MATHAI/generative-manim

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 816 Bytes
一键复制 编辑 原始数据 按行查看 历史
surriento 提交于 2025-09-29 22:25 +08:00 . Init
# Use an official lightweight Python image.
FROM python:3.9-slim
# Set the working directory to /app
WORKDIR /app
# Preparing Manim dependencies and build tools
RUN apt-get update && apt-get -y upgrade && \
apt-get install -y build-essential libcairo2-dev libpango1.0-dev pkg-config ffmpeg curl \
texlive texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science
# Copy the current directory contents into the container at /app
COPY . /app
# Set the working directory to /app/api, where your Flask app is
WORKDIR /app/api
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Make port 8080 available to the world outside this container
EXPOSE 8080
# Run run.py when the container launches
CMD ["python", "../run.py"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mathsai/generative-manim.git
git@gitee.com:mathsai/generative-manim.git
mathsai
generative-manim
generative-manim
master

搜索帮助