We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
镜像有点大3.59GB。 你可以把Dockerfile修改为下面的尝试一下,在我的机器上能跑起来(ubuntu 20.04)。
FROM python:3.7 #这里可以注释掉,本意是换源,但近期重新尝试发现这步报错。 #RUN sed -i "s@http://\(deb\|security\).debian.org@https://mirrors.tencent.com@g" /etc/apt/sources.list RUN apt-get update -y --fix-missing && apt-get upgrade -y RUN apt-get install cmake ffmpeg libsm6 libxext6 -y WORKDIR /code COPY . . COPY /paddleocr /root/.paddleocr RUN pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple #这里把 -i https://mirror.xxxxx 删掉了,本意也是想用国内pip源加速,看你这步报错了,可以直接pip install 试试。 RUN pip install -r requirements.txt EXPOSE 8000 CMD ["gunicorn", "main:app", "-c", "./gunicorn.config.py"]
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: