Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
23df5bcf
Commit
23df5bcf
authored
Feb 01, 2021
by
WenmuZhou
Browse files
update dockerfile
parent
8fb01540
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
deploy/docker/hubserving/cpu/Dockerfile
deploy/docker/hubserving/cpu/Dockerfile
+1
-3
deploy/docker/hubserving/gpu/Dockerfile
deploy/docker/hubserving/gpu/Dockerfile
+1
-3
No files found.
deploy/docker/hubserving/cpu/Dockerfile
View file @
23df5bcf
# Version: 2.0.0
# Version: 2.0.0
FROM
registry.baidubce.com/paddlepaddle/paddle:2.0.0
rc1
FROM
registry.baidubce.com/paddlepaddle/paddle:2.0.0
# 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.0
-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
...
...
deploy/docker/hubserving/gpu/Dockerfile
View file @
23df5bcf
# Version: 2.0.0
# Version: 2.0.0
FROM
registry.baidubce.com/paddlepaddle/paddle:2.0.0
rc1
-gpu-cuda10.
0
-cudnn7
FROM
registry.baidubce.com/paddlepaddle/paddle:2.0.0-gpu-cuda10.
1
-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.0
-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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment