MalikShehram commited on
Commit
05b0749
·
verified ·
1 Parent(s): feb2344

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -4,13 +4,13 @@ FROM python:3.9-slim
4
  # Set working directory
5
  WORKDIR /app
6
 
7
- # Install system dependencies required for image processing (OpenCV/PIL)
8
  RUN apt-get update && apt-get install -y \
9
- libgl1-mesa-glx \
10
  libglib2.0-0 \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
- # Copy requirements and install them securely
14
  COPY requirements.txt .
15
  RUN pip install --no-cache-dir -r requirements.txt
16
 
 
4
  # Set working directory
5
  WORKDIR /app
6
 
7
+ # Install system dependencies (Updated for the newest Linux versions)
8
  RUN apt-get update && apt-get install -y \
9
+ libgl1 \
10
  libglib2.0-0 \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
+ # Copy requirements and install them
14
  COPY requirements.txt .
15
  RUN pip install --no-cache-dir -r requirements.txt
16