Pujan-Dev commited on
Commit
add4bfa
·
1 Parent(s): d260d2e

fix: add system dependencies for OpenCV in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -10,6 +10,9 @@ COPY requirements.txt ./
10
  # Install the dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
 
 
13
  # Copy the application code into the container
14
  COPY . .
15
 
 
10
  # Install the dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
+ # Install system dependencies required by OpenCV
14
+ RUN apt-get update && apt-get install -y libxcb1 && rm -rf /var/lib/apt/lists/*
15
+
16
  # Copy the application code into the container
17
  COPY . .
18