theminji commited on
Commit
a338785
·
verified ·
1 Parent(s): c2ce53f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  FROM python:3.9-slim
2
 
3
- # Install system dependencies for building pycairo and for Manim
4
  RUN apt-get update && apt-get install -y \
5
  build-essential \
6
  pkg-config \
@@ -8,15 +8,17 @@ RUN apt-get update && apt-get install -y \
8
  ffmpeg \
9
  libcairo2-dev \
10
  libpango1.0-dev \
11
- libpangocairo-1.0-0 \
 
12
  && rm -rf /var/lib/apt/lists/*
13
 
14
  WORKDIR /app
15
 
 
16
  COPY requirements.txt .
17
-
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
 
20
  COPY . .
21
 
22
  EXPOSE 7860
 
1
  FROM python:3.9-slim
2
 
3
+ # Install system dependencies required for Manim and building pycairo
4
  RUN apt-get update && apt-get install -y \
5
  build-essential \
6
  pkg-config \
 
8
  ffmpeg \
9
  libcairo2-dev \
10
  libpango1.0-dev \
11
+ meson \
12
+ ninja-build \
13
  && rm -rf /var/lib/apt/lists/*
14
 
15
  WORKDIR /app
16
 
17
+ # Copy the requirements file and install Python dependencies
18
  COPY requirements.txt .
 
19
  RUN pip install --no-cache-dir -r requirements.txt
20
 
21
+ # Copy the rest of the application code
22
  COPY . .
23
 
24
  EXPOSE 7860