AnimateMyIdea1 / Dockerfile
devendergarg14's picture
Update Dockerfile
c87bae5 verified
raw
history blame contribute delete
556 Bytes
# Update to v0.18.1 to get Python 3.10+
FROM manimcommunity/manim:v0.18.1
USER root
# --- ADD THIS LINE ---
# Explicitly install FFmpeg to ensure ffprobe is in the system's PATH
#RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg
RUN apt-get update && apt-get install -y fonts-noto-color-emoji
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"]