Skip to content

Commit

Permalink
Update Dockerfile.arm (#2150)
Browse files Browse the repository at this point in the history
added NLTK lib  install

### What problem does this PR solve?


### Type of change
- [x] Performance Improvement
  • Loading branch information
yangboz authored Aug 29, 2024
1 parent 1eb6286 commit 0abc013
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile.arm
Original file line number Diff line number Diff line change
Expand Up @@ -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')"

Expand Down Expand Up @@ -31,4 +35,4 @@ ADD docker/entrypoint.sh ./entrypoint.sh
ADD docker/.env ./
RUN chmod +x ./entrypoint.sh

ENTRYPOINT ["./entrypoint.sh"]
ENTRYPOINT ["./entrypoint.sh"]

0 comments on commit 0abc013

Please sign in to comment.