1 Star 0 Fork 0

GEvening / TrWebOCR

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 577 Bytes
一键复制 编辑 原始数据 按行查看 历史
alisen 提交于 2021-10-27 23:58 . 优化dockerfile
FROM python:3.7-slim
COPY . ./TrWebOCR
RUN sed -i 's#http://deb.debian.org#https://mirrors.163.com#g' /etc/apt/sources.list \
&& apt update && apt install -y libglib2.0-dev libsm6 libxrender1 libxext-dev supervisor build-essential \
&& rm -rf /var/lib/apt/lists/* \
&& /usr/local/bin/python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple \
&& pip3 install -r ./TrWebOCR/requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ \
&& python3 ./TrWebOCR/install.py
EXPOSE 8089
CMD ["supervisord","-c","/TrWebOCR/supervisord.conf"]
1
https://gitee.com/liuyangCode/TrWebOCR.git
git@gitee.com:liuyangCode/TrWebOCR.git
liuyangCode
TrWebOCR
TrWebOCR
master

搜索帮助