File size: 556 Bytes
71d83cf
 
 
 
bd656af
 
 
c87bae5
 
71d83cf
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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"]