Spaces:
Sleeping
Sleeping
| 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"] | |