dsmueller commited on
Commit
a51c4a0
·
1 Parent(s): 5bf9a87

Add libgl1 dependency for OpenCV installation

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -26,7 +26,8 @@ RUN python -m venv /venv && \
26
  /venv/bin/pip install --no-cache-dir -r requirements.txt
27
 
28
  # Fix broken OpenCV installation for docker container
29
- RUN apt-get install -y python3-opencv
 
30
  # RUN /venv/bin/pip install opencv-python
31
 
32
  # Set user back to non-root
 
26
  /venv/bin/pip install --no-cache-dir -r requirements.txt
27
 
28
  # Fix broken OpenCV installation for docker container
29
+ RUN apt-get install -y libgl1
30
+ RUN apt-get install -y python3-opencv
31
  # RUN /venv/bin/pip install opencv-python
32
 
33
  # Set user back to non-root