Skip to content

Commit

Permalink
Merge pull request #27 from ConnectAI-E/ke-hotfix-dockerfile
Browse files Browse the repository at this point in the history
hotfix
  • Loading branch information
OPChips authored Mar 15, 2024
2 parents 801efd2 + 9877a6f commit be7cf6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN sed -i "s@http://security.debian.org@http://mirrors.aliyun.com@g" /etc/apt/s

RUN apt-get update && apt-get install -y libcurl4-openssl-dev libffi-dev libxml2-dev g++ libreoffice \
&& pip3 install torch==2.0.1+cpu torchvision==0.15.2+cpu -f https://download.pytorch.org/whl/torch_stable.html -i https://pypi.tuna.tsinghua.edu.cn/simple \
&& pip3 install requests Flask gunicorn gevent bson Flask-Session==0.5.0 Flask-SQLAlchemy ujson pycurl bcrypt langchain=0.0.246 sentence_transformers pdf2image pytesseract elasticsearch_dsl redis unstructured PyMuPDF bs4 openai==0.28.1 flask[async] Cython flask-cors python-docx python-pptx markdown pandas openpyxl celery -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn --no-cache-dir
&& pip3 install requests Flask gunicorn gevent bson Flask-Session==0.5.0 Flask-SQLAlchemy ujson pycurl bcrypt langchain==0.0.246 sentence_transformers pdf2image pytesseract elasticsearch_dsl redis unstructured PyMuPDF bs4 openai==0.28.1 flask[async] Cython flask-cors python-docx python-pptx markdown pandas openpyxl celery -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn --no-cache-dir

ADD ./docker/entrypoint.sh /entrypoint.sh
ADD ./docker/wait-for-it.sh /wait-for-it.sh
Expand Down

0 comments on commit be7cf6e

Please sign in to comment.