Commit ff7b1813 authored by 王国顺's avatar 王国顺

修改dockerfile

parent 3e0af537
# Version: 2.0.0 PaddleOCR-2.8.1
FROM registry.baidubce.com/paddlepaddle/paddle:2.0.0
FROM registry.baidubce.com/paddlepaddle/paddle:2.1.3
ENV BASE_DIR="/PaddleOCR"
# PaddleOCR base on Python3.7
RUN pip3.7 install --upgrade pip -i https://mirror.baidu.com/pypi/simple
#RUN pip3.7 install --upgrade pip -i https://mirror.baidu.com/pypi/simple
RUN pip3.7 install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple
RUN pip3.7 install paddlehub --upgrade -i https://mirror.baidu.com/pypi/simple
#RUN pip3.7 install paddlehub --upgrade -i https://mirror.baidu.com/pypi/simple
RUN pip3.7 install paddlehub --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple
#RUN git clone https://github.com/PaddlePaddle/PaddleOCR.git /PaddleOCR
RUN git clone http://gitlab.infoepoch.com/wanggs/paddleocr-2.8.1.git /PaddleOCR
WORKDIR /PaddleOCR
#RUN pip3.7 install -r requirements.txt -i https://mirror.baidu.com/pypi/simple
RUN pip3.7 install -r requirements.txt -i https://mirror.baidu.com/pypi/simple
RUN mkdir -p /PaddleOCR/inference/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment