InvictaTill's picture
feat: complete local integration of AI mind codebase (brain, memory, etc.) in text2video, supporting both Direct Codebase execution and Remote HTTP fallback
3d7a63c
Raw
History Blame Contribute Delete
527 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1 \
&& rm -rf /var/lib/apt/lists/* \
&& git lfs install
COPY requirements.txt .
COPY *.py .
COPY README.md .
RUN pip install --no-cache-dir pip -U && \
pip install --no-cache-dir \
gradio==4.44.0 \
"uvicorn>=0.14.0" \
"websockets>=10.4" \
-r requirements.txt
# Use Uvicorn directly — bypasses Gradio's broken launch() localhost check
CMD ["python", "app.py"]