From 20baa671c0caeb606c5d2f512788b79cd7352c0d Mon Sep 17 00:00:00 2001 From: Lin Lyu Date: Thu, 3 Sep 2020 16:00:14 +0800 Subject: [PATCH] fix #issue 663 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改clone路径,避免后续命令找不到路径 --- docker/hubserving/cpu/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/hubserving/cpu/Dockerfile b/docker/hubserving/cpu/Dockerfile index 8404b4c0..9b8606d0 100755 --- a/docker/hubserving/cpu/Dockerfile +++ b/docker/hubserving/cpu/Dockerfile @@ -8,7 +8,7 @@ RUN python3.7 -m pip install paddlepaddle==1.7.2 -i https://pypi.tuna.tsinghua.e 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 /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