Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
|
@@ -5,7 +5,12 @@ FROM python:3.10
|
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
# Install the missing dependency for OpenCV
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# Copy all project files into the Docker image
|
| 11 |
COPY . /app
|
|
|
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
# Install the missing dependency for OpenCV
|
| 8 |
+
# Install essential dependencies for OpenCV
|
| 9 |
+
RUN apt-get update && apt-get install -y \
|
| 10 |
+
libgl1 \
|
| 11 |
+
libglib2.0-0 \
|
| 12 |
+
libsm6 \
|
| 13 |
+
libxrender1
|
| 14 |
|
| 15 |
# Copy all project files into the Docker image
|
| 16 |
COPY . /app
|