fffiloni commited on
Commit
cce8b71
·
verified ·
1 Parent(s): 9d75037

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -103,6 +103,11 @@ RUN pip install --no-cache-dir git+https://github.com/IDEA-Research/GroundingDIN
103
  pip install -e . && \
104
  cd ..
105
 
 
 
 
 
 
106
  # Upgrade pip and install Gradio
107
  RUN python3 -m pip install --no-cache-dir gradio
108
 
 
103
  pip install -e . && \
104
  cd ..
105
 
106
+ # Compile the GroundingDINO extension
107
+ RUN cd /home/user/.local/lib/python3.10/site-packages/groundingdino/models/GroundingDINO && \
108
+ python setup.py build_ext --inplace && \
109
+ cd /home/user/app
110
+
111
  # Upgrade pip and install Gradio
112
  RUN python3 -m pip install --no-cache-dir gradio
113