devendergarg14 commited on
Commit
a17c29c
·
verified ·
1 Parent(s): 990badf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -1,12 +1,12 @@
1
- # Update to v0.18.1 to get Python 3.10+
2
  FROM manimcommunity/manim:v0.18.1
3
 
4
  USER root
5
 
6
- # --- ADD THIS LINE ---
7
- # Explicitly install FFmpeg to ensure ffprobe is in the system's PATH
8
- #RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg
9
- RUN apt-get update && apt-get install -y fonts-noto-color-emoji
 
10
  COPY requirements.txt .
11
  RUN pip install --upgrade pip
12
  RUN pip install --no-cache-dir -r requirements.txt
@@ -14,7 +14,7 @@ RUN pip install --no-cache-dir -r requirements.txt
14
  WORKDIR /app
15
  COPY . /app
16
 
17
- # Permission fix
18
  RUN chown -R manimuser:manimuser /app
19
 
20
  USER manimuser
 
 
1
  FROM manimcommunity/manim:v0.18.1
2
 
3
  USER root
4
 
5
+ # Install required fonts (Roboto + emoji)
6
+ RUN apt-get update && apt-get install -y \
7
+ fonts-roboto \
8
+ fonts-noto-color-emoji
9
+
10
  COPY requirements.txt .
11
  RUN pip install --upgrade pip
12
  RUN pip install --no-cache-dir -r requirements.txt
 
14
  WORKDIR /app
15
  COPY . /app
16
 
17
+ # Fix permissions
18
  RUN chown -R manimuser:manimuser /app
19
 
20
  USER manimuser