replace ubuntu software source
Build-Deploy-Actions Details

This commit is contained in:
jianjiang 2023-05-04 21:01:23 +08:00
parent 0785144200
commit 988a741ab4
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ WORKDIR /app
COPY . /app
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
ENV PYHTONUNBUFFERED=1
RUN apt-get update && apt-get -y install tesseract-ocr