remove opencv reinstall
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -14,9 +14,7 @@ RUN apt-get update \
|
|
| 14 |
RUN pip install torch==2.1.1 -i https://download.pytorch.org/whl/cpu
|
| 15 |
RUN pip install paddlepaddle==2.6.0 -i https://mirror.baidu.com/pypi/simple
|
| 16 |
RUN pip install transformers pytesseract gradio Pillow
|
| 17 |
-
RUN pip install paddleocr==2.7.0.3
|
| 18 |
-
&& pip uninstall -y opencv-python opencv-contrib-python \
|
| 19 |
-
&& pip install opencv-python-headless
|
| 20 |
|
| 21 |
RUN useradd -m -u 1000 user
|
| 22 |
USER user
|
|
|
|
| 14 |
RUN pip install torch==2.1.1 -i https://download.pytorch.org/whl/cpu
|
| 15 |
RUN pip install paddlepaddle==2.6.0 -i https://mirror.baidu.com/pypi/simple
|
| 16 |
RUN pip install transformers pytesseract gradio Pillow
|
| 17 |
+
RUN pip install paddleocr==2.7.0.3
|
|
|
|
|
|
|
| 18 |
|
| 19 |
RUN useradd -m -u 1000 user
|
| 20 |
USER user
|