lakshraina2 commited on
Commit
cedf46e
·
verified ·
1 Parent(s): 1feb9d4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM python:3.9-slim
2
 
3
- # 1. Install system dependencies for OpenCV
4
- RUN apt-get update && apt-get install -y libglib2.0-0 libsm6 libxext6 libxrender-dev libgl1-mesa-glx && rm -rf /var/lib/apt/lists/*
5
 
6
  # 2. Create the strict non-root user Hugging Face requires
7
  RUN useradd -m -u 1000 user
 
1
  FROM python:3.9-slim
2
 
3
+ # 1. Install system dependencies for OpenCV (Updated for newer Debian versions)
4
+ RUN apt-get update && apt-get install -y libglib2.0-0 libsm6 libxext6 libxrender-dev libgl1 && rm -rf /var/lib/apt/lists/*
5
 
6
  # 2. Create the strict non-root user Hugging Face requires
7
  RUN useradd -m -u 1000 user