CineAI commited on
Commit
6e50059
·
verified ·
1 Parent(s): 2ee533d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -2,11 +2,13 @@ FROM python:3.9-slim
2
 
3
  WORKDIR /app
4
 
 
5
  RUN apt-get update && apt-get install -y \
6
  build-essential \
7
  curl \
8
- software-properties-common \
9
  git \
 
 
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
  COPY requirements.txt ./
 
2
 
3
  WORKDIR /app
4
 
5
+ # Install system dependencies, including the required graphics library for OpenCV
6
  RUN apt-get update && apt-get install -y \
7
  build-essential \
8
  curl \
 
9
  git \
10
+ libgl1-mesa-glx \
11
+ # This libgl1 is required by the opencv-python package, a dependency of ultralytics
12
  && rm -rf /var/lib/apt/lists/*
13
 
14
  COPY requirements.txt ./