botInfinity commited on
Commit
168154e
·
verified ·
1 Parent(s): 42041fd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -3,12 +3,16 @@ FROM python:3.11-slim
3
 
4
  WORKDIR /app
5
 
6
- # Install system deps
7
  RUN apt-get update && apt-get install -y --no-install-recommends \
8
  build-essential \
9
  libsndfile1 \
 
10
  && rm -rf /var/lib/apt/lists/*
11
 
 
 
 
12
  COPY requirements.txt .
13
  RUN pip install --no-cache-dir -r requirements.txt
14
 
 
3
 
4
  WORKDIR /app
5
 
6
+ # Install system deps including libGL for OpenCV
7
  RUN apt-get update && apt-get install -y --no-install-recommends \
8
  build-essential \
9
  libsndfile1 \
10
+ libgl1-mesa-glx \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
+ # Upgrade pip to avoid dependency resolution issues
14
+ RUN pip install --upgrade pip
15
+
16
  COPY requirements.txt .
17
  RUN pip install --no-cache-dir -r requirements.txt
18