mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-05-25 07:39:13 +08:00
Update Dockerfile.arm (#2150)
added NLTK lib install ### What problem does this PR solve? ### Type of change - [x] Performance Improvement
This commit is contained in:
parent
1eb6286339
commit
0abc01311b
@ -4,6 +4,10 @@ USER root
|
||||
WORKDIR /ragflow
|
||||
|
||||
COPY requirements_arm.txt /ragflow/requirements.txt
|
||||
|
||||
|
||||
RUN pip install nltk --default-timeout=10000
|
||||
|
||||
RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&\
|
||||
python -c "import nltk;nltk.download('punkt');nltk.download('wordnet')"
|
||||
|
||||
@ -31,4 +35,4 @@ ADD docker/entrypoint.sh ./entrypoint.sh
|
||||
ADD docker/.env ./
|
||||
RUN chmod +x ./entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user