Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
@@ -12,12 +12,9 @@ RUN wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-
|
|
12 |
RUN pip install torch==2.1.1 -i https://download.pytorch.org/whl/cpu
|
13 |
RUN python -m pip install paddlepaddle==2.5.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
|
14 |
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 pip install numpy==1.23.5
|
20 |
-
RUN pip install opencv-python
|
|
|
21 |
|
22 |
RUN useradd -m -u 1000 user
|
23 |
USER user
|
|
|
12 |
RUN pip install torch==2.1.1 -i https://download.pytorch.org/whl/cpu
|
13 |
RUN python -m pip install paddlepaddle==2.5.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
|
14 |
RUN pip install transformers gradio Pillow fastapi
|
|
|
|
|
|
|
|
|
15 |
RUN pip install numpy==1.23.5
|
16 |
+
RUN pip install opencv-python==4.6.0.66
|
17 |
+
RUN pip install paddleocr==2.7.0.3
|
18 |
|
19 |
RUN useradd -m -u 1000 user
|
20 |
USER user
|