diff --git a/Dockerfile b/Dockerfile index b357582..d1ddc5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ RUN apt update RUN apt install -y vim RUN apt install -y libgl1-mesa-glx RUN apt install -y poppler-utils +RUN apt install -y tesseract-ocr COPY ./requirements.txt /requirements.txt RUN pip install --upgrade pip diff --git a/gunicorn_config.py b/gunicorn_config.py index 3e2569d..61a9da0 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -36,4 +36,4 @@ accesslog = 'access.log' access_log_format = '%(h)s %(t)s %(U)s %(q)s' # 设置超时时间为 5 分钟(300 秒) -timeout = 300 \ No newline at end of file +timeout = 600 \ No newline at end of file