Spaces:
Sleeping
Sleeping
Gaurav vashistha commited on
Commit ·
3598ffe
1
Parent(s): 124ace2
Fix libgl1 usage in Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -4,12 +4,12 @@ FROM python:3.10-slim
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
-
# 1. INSTALL SYSTEM DEPENDENCIES
|
| 8 |
-
# -
|
| 9 |
-
# - libgl1/libglib: Required for OpenCV and graphical operations
|
| 10 |
RUN apt-get update && apt-get install -y \
|
| 11 |
ffmpeg \
|
| 12 |
-
libgl1
|
|
|
|
| 13 |
libglib2.0-0 \
|
| 14 |
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
|
|
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# 1. INSTALL SYSTEM DEPENDENCIES
|
| 8 |
+
# Fix: 'libgl1-mesa-glx' is deprecated. Using 'libgl1' and 'libglx-mesa0' instead.
|
|
|
|
| 9 |
RUN apt-get update && apt-get install -y \
|
| 10 |
ffmpeg \
|
| 11 |
+
libgl1 \
|
| 12 |
+
libglx-mesa0 \
|
| 13 |
libglib2.0-0 \
|
| 14 |
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
|