update Dockerfile
This commit is contained in:
parent
9bbe2214d9
commit
144b3fb075
|
@ -1,11 +1,9 @@
|
||||||
# Version: 1.0.0
|
# Version: 2.0.0
|
||||||
FROM hub.baidubce.com/paddlepaddle/paddle:latest-gpu-cuda10.0-cudnn7-dev
|
FROM registry.baidubce.com/paddlepaddle/paddle:2.0.0rc1
|
||||||
|
|
||||||
# PaddleOCR base on Python3.7
|
# 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 python3.7 -m pip install paddlepaddle==2.0.0rc0 -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://mirror.baidu.com/pypi/simple
|
||||||
|
|
||||||
RUN git clone https://github.com/PaddlePaddle/PaddleOCR.git /PaddleOCR
|
RUN git clone https://github.com/PaddlePaddle/PaddleOCR.git /PaddleOCR
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
# Version: 1.0.0
|
# Version: 2.0.0
|
||||||
FROM hub.baidubce.com/paddlepaddle/paddle:latest-gpu-cuda10.0-cudnn7-dev
|
FROM egistry.baidubce.com/paddlepaddle/paddle:2.0.0rc1-gpu-cuda10.0-cudnn7
|
||||||
|
|
||||||
# PaddleOCR base on Python3.7
|
# 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 python3.7 -m pip install paddlepaddle-gpu==2.0.0rc0 -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://mirror.baidu.com/pypi/simple
|
||||||
|
|
||||||
RUN git clone https://github.com/PaddlePaddle/PaddleOCR.git /PaddleOCR
|
RUN git clone https://github.com/PaddlePaddle/PaddleOCR.git /PaddleOCR
|
||||||
|
|
Loading…
Reference in New Issue