aproxtimedev commited on
Commit
47046c8
·
verified ·
1 Parent(s): 16dde95

change : hardcode numpy version

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -15,6 +15,7 @@ RUN pip install transformers gradio Pillow fastapi
15
  RUN pip install paddleocr==2.7.0.3 \
16
  && pip uninstall -y opencv-python opencv-contrib-python \
17
  && pip install opencv-python-headless
 
18
 
19
  RUN useradd -m -u 1000 user
20
  USER user
 
15
  RUN pip install paddleocr==2.7.0.3 \
16
  && pip uninstall -y opencv-python opencv-contrib-python \
17
  && pip install opencv-python-headless
18
+ RUN pip install numpy<2.0.0
19
 
20
  RUN useradd -m -u 1000 user
21
  USER user