dsmueller commited on
Commit
609bf51
1 Parent(s): a51c4a0

Update Dockerfile to fix broken OpenCV installation

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