thehammadishaq commited on
Commit
6cc2a0f
·
verified ·
1 Parent(s): b2f99a1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -2,8 +2,14 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
 
 
 
 
 
5
  COPY requirements.txt .
6
- RUN pip install --no-cache-dir -r requirements.txt
 
7
 
8
  COPY . .
9
 
 
2
 
3
  WORKDIR /app
4
 
5
+ # Install system dependencies first
6
+ RUN apt-get update && apt-get install -y \
7
+ libgl1 \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
  COPY requirements.txt .
11
+ RUN pip install --upgrade pip && \
12
+ pip install --no-cache-dir -r requirements.txt
13
 
14
  COPY . .
15