1 Star 1 Fork 0

小可/chineseocr_lite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 960 Bytes
一键复制 编辑 原始数据 按行查看 历史
ouyanghuiyu 提交于 2020-07-30 15:11 . add
FROM centos:7.2.1511
LABEL Author="Pad0y<github.com/Pad0y>"
ENV LANG C.UTF-8 LC_ALL=C.UTF-8
COPY . /data/project/
WORKDIR /data/project/
RUN yum -y update \
&& yum -y install gcc gcc-c++ wget make git libSM-1.2.2-2.el7.x86_64 libXrender libXext\
&& yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel \
&& yum -y install python3-devel centos-release-scl scl-utils-build \
&& yum -y install devtoolset-7-gcc* \
&& echo 'source /opt/rh/devtoolset-7/enable' >> ~/.bash_profile \
&& source ~/.bash_profile \
&& scl enable devtoolset-7 bash
RUN pip3 install --user -U pip -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
&& pip3 config set global.index-url https://mirrors.aliyun.com/pypi/simple/
RUN source ~/.bash_profile && pip3 install -r requirements.txt
EXPOSE 5000
EXPOSE 8000
CMD python3 backend/main.py
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lxk2020/chineseocr_lite.git
git@gitee.com:lxk2020/chineseocr_lite.git
lxk2020
chineseocr_lite
chineseocr_lite
onnx

搜索帮助

0d507c66 1850385 C8b1a773 1850385