File size: 435 Bytes
ffc29c7
 
 
 
 
 
 
 
6ca83b6
ffc29c7
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"]