From a727bca724a49cacc09cf770da69d2b84287a4f9 Mon Sep 17 00:00:00 2001 From: jackeylv Date: Thu, 3 Sep 2020 17:29:16 +0800 Subject: [PATCH] fix #663 in gpu mode --- docker/hubserving/gpu/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/hubserving/gpu/Dockerfile b/docker/hubserving/gpu/Dockerfile index 1320a7f3..0cdbe51c 100755 --- a/docker/hubserving/gpu/Dockerfile +++ b/docker/hubserving/gpu/Dockerfile @@ -8,7 +8,7 @@ RUN python3.7 -m pip install paddlepaddle-gpu==1.7.2.post107 -i https://pypi.tun RUN pip3.7 install paddlehub --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple -RUN git clone https://gitee.com/PaddlePaddle/PaddleOCR +RUN git clone https://gitee.com/PaddlePaddle/PaddleOCR /PaddleOCR WORKDIR /home/PaddleOCR @@ -25,4 +25,4 @@ RUN tar xf /PaddleOCR/inference/ch_rec_mv3_crnn_infer.tar -C /PaddleOCR/inferenc EXPOSE 8866 -CMD ["/bin/bash","-c","export PYTHONPATH=. && hub install deploy/hubserving/ocr_system/ && hub serving start -m ocr_system"] \ No newline at end of file +CMD ["/bin/bash","-c","export PYTHONPATH=. && hub install deploy/hubserving/ocr_system/ && hub serving start -m ocr_system"] -- GitLab