Spaces:
Sleeping
Sleeping
Download Dockerfile from MathFrames/manim-render-api: direct link, hf CLI and curl.
- Browser
- Download file 435 Bytes
-
https://huggingface.co/spaces/MathFrames/manim-render-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MathFrames/manim-render-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MathFrames/manim-render-api/resolve/main/Dockerfile
435 Bytes
| FROM manimcommunity/manim:stable | |
| WORKDIR /app | |
| COPY app /app | |
| # App deps only (no LaTeX) | |
| RUN python -m pip install --upgrade pip && \ | |
| python -m pip install --no-cache-dir \ | |
| fastapi "uvicorn[standard]" pydantic python-dotenv google-genai openai huggingface-hub | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # Run uvicorn via python -m so PATH is never an issue | |
| CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |