# Update to v0.18.1 to get Python 3.10+ FROM manimcommunity/manim:v0.18.1 USER root COPY requirements.txt . RUN pip install --upgrade pip RUN pip install --no-cache-dir -r requirements.txt WORKDIR /app COPY . /app # Permission fix RUN chown -R manimuser:manimuser /app USER manimuser EXPOSE 7860 CMD ["python", "app.py"]