|
|
|
|
|
|
|
|
|
|
|
FROM fuqingxu/python311_texlive_ctex:latest |
|
|
|
|
|
WORKDIR /gpt |
|
|
|
RUN pip3 install gradio openai numpy arxiv rich |
|
RUN pip3 install colorama Markdown pygments pymupdf |
|
RUN pip3 install python-docx moviepy pdfminer |
|
RUN pip3 install zh_langchain==0.2.1 |
|
RUN pip3 install nougat-ocr |
|
RUN pip3 install aliyun-python-sdk-core==2.13.3 pyOpenSSL scipy git+https://github.com/aliyun/alibabacloud-nls-python-sdk.git |
|
|
|
|
|
COPY . . |
|
|
|
|
|
|
|
RUN pip3 install -r requirements.txt |
|
|
|
|
|
RUN python3 -c 'from check_proxy import warm_up_modules; warm_up_modules()' |
|
|
|
|
|
CMD ["python3", "-u", "main.py"] |
|
|