Lakpriya Seneviratna commited on
Commit
1ac770f
·
1 Parent(s): 8f5bdbe

chore: Install dependencies for OpenCV and other necessary system libraries in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -1,6 +1,11 @@
1
  # Use the official Python image from the Docker Hub
2
  FROM python:3.9
3
 
 
 
 
 
 
4
  # Create a user to run the application
5
  RUN useradd -m -u 1000 user
6
  USER user
 
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
11
  USER user