install OpenGL
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -3,7 +3,7 @@ FROM python:3.10
|
|
3 |
ARG PIP_NO_CACHE_DIR=1
|
4 |
|
5 |
RUN apt-get update \
|
6 |
-
&& apt-get install -y tesseract-ocr \
|
7 |
&& rm -rf /var/lib/apt/lists/*
|
8 |
|
9 |
# # libssl1.1 for PaddlePaddle
|
@@ -14,7 +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 |
|
19 |
RUN useradd -m -u 1000 user
|
20 |
USER user
|
|
|
3 |
ARG PIP_NO_CACHE_DIR=1
|
4 |
|
5 |
RUN apt-get update \
|
6 |
+
&& apt-get install -y tesseract-ocr libgl1 \
|
7 |
&& rm -rf /var/lib/apt/lists/*
|
8 |
|
9 |
# # libssl1.1 for PaddlePaddle
|
|
|
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
|