Skip to content

Commit

Permalink
add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenNima committed Jul 21, 2022
1 parent 6eea70f commit 3180a55
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deploy/docker/hubserving/pretrain-hub/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM paddlepaddle/paddle:2.3.0

RUN pip install paddlehub

RUN hub install chinese_ocr_db_crnn_mobile chinese_text_detection_db_mobile

EXPOSE 8866

CMD ["/bin/bash", "-c", "hub serving start -m chinese_ocr_db_crnn_mobile -p 8866"]

0 comments on commit 3180a55

Please sign in to comment.