Spaces:
Sleeping
Sleeping
vancyferns
commited on
Commit
·
76d8957
1
Parent(s):
b6f66bb
updated docker file
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
# Use a lightweight official Python image as the base
|
| 2 |
FROM python:3.10-slim
|
| 3 |
|
| 4 |
-
# Install the
|
| 5 |
RUN apt-get update && apt-get install -y \
|
| 6 |
-
libgl1
|
| 7 |
libsm6 \
|
| 8 |
libxext6 \
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
| 1 |
# Use a lightweight official Python image as the base
|
| 2 |
FROM python:3.10-slim
|
| 3 |
|
| 4 |
+
# Install the correct system-level dependencies for OpenCV
|
| 5 |
RUN apt-get update && apt-get install -y \
|
| 6 |
+
libgl1 \
|
| 7 |
libsm6 \
|
| 8 |
libxext6 \
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|