Browse Source

paddle-ocr文件提前下载

liweiquan 10 months ago
parent
commit
504f46190b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -92,6 +92,8 @@ redirect_stderr=true\n\
 stdout_logfile=/var/log/be.log\n\
 stdout_logfile_maxbytes=0\n\
 " > /etc/supervisor/conf.d/be.conf
+RUN cd / && wget ftp://192.168.199.31/table-paddleclas.tgz && tar xvf table-paddleclas.tgz
+RUN cd / && wget ftp://192.168.199.31/table-paddleocr.tgz && tar xvf table-paddleocr.tgz
 
 ARG VERSION
 ENV USE_CUDA $VERSION