Creator-090 commited on
Commit
99f8a05
·
1 Parent(s): d0dc8d3

fix: update Dockerfile to install correct system dependencies for video processing

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -1,8 +1,8 @@
1
  FROM python:3.10
2
 
3
- # System dependencies for video/image processing
4
  RUN apt-get update && apt-get install -y \
5
- libgl1-mesa-glx \
6
  libglib2.0-0 \
7
  ffmpeg \
8
  && rm -rf /var/lib/apt/lists/*
@@ -10,7 +10,6 @@ RUN apt-get update && apt-get install -y \
10
  WORKDIR /app
11
 
12
  COPY requirements.txt .
13
- # Use --upgrade to ensure numpy is downgraded and torch is updated
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
 
16
  COPY . .
 
1
  FROM python:3.10
2
 
3
+ # Install updated system dependencies for Debian Trixie
4
  RUN apt-get update && apt-get install -y \
5
+ libgl1 \
6
  libglib2.0-0 \
7
  ffmpeg \
8
  && rm -rf /var/lib/apt/lists/*
 
10
  WORKDIR /app
11
 
12
  COPY requirements.txt .
 
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  COPY . .