Spaces:
Sleeping
Sleeping
fix: add system dependencies for OpenCV in Dockerfile
Browse files- 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 |
|