jingyangcarl commited on
Commit
e053f46
·
1 Parent(s): e44c378
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -27,6 +27,9 @@ RUN useradd -m -u 1000 user
27
  # Switch to the "user" user
28
  USER user
29
 
 
 
 
30
  RUN conda create -n gradio-user python=3.11
31
  RUN conda run -n gradio-user pip install --upgrade pip
32
  # RUN conda install -n gradio-user pytorch3d=0.7.7 -c pytorch3d -c conda-forge
 
27
  # Switch to the "user" user
28
  USER user
29
 
30
+ # make sure cv2 can be loaded
31
+ RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
32
+
33
  RUN conda create -n gradio-user python=3.11
34
  RUN conda run -n gradio-user pip install --upgrade pip
35
  # RUN conda install -n gradio-user pytorch3d=0.7.7 -c pytorch3d -c conda-forge