Spaces:
Sleeping
Sleeping
Lakpriya Seneviratna
commited on
Commit
·
d996379
1
Parent(s):
fc587f5
chore: Update Dockerfile to install ffmpeg and necessary system libraries
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
# Use the official Python image from the Docker Hub
|
2 |
FROM python:3.9
|
3 |
|
4 |
-
# Install dependencies for OpenCV and other necessary system libraries
|
5 |
RUN apt-get update && apt-get install -y \
|
6 |
libgl1-mesa-glx \
|
7 |
-
libglib2.0-0
|
|
|
8 |
|
9 |
# Create a user to run the application
|
10 |
RUN useradd -m -u 1000 user
|
|
|
1 |
# Use the official Python image from the Docker Hub
|
2 |
FROM python:3.9
|
3 |
|
4 |
+
# Install dependencies for OpenCV, ffmpeg, and other necessary system libraries
|
5 |
RUN apt-get update && apt-get install -y \
|
6 |
libgl1-mesa-glx \
|
7 |
+
libglib2.0-0 \
|
8 |
+
ffmpeg
|
9 |
|
10 |
# Create a user to run the application
|
11 |
RUN useradd -m -u 1000 user
|