yangbo.zhou
commited on
Commit
·
24ab7dc
1
Parent(s):
18a496b
Update Dockerfile.arm (#2150)
Browse filesadded NLTK lib install
### What problem does this PR solve?
### Type of change
- [x] Performance Improvement
- Dockerfile.arm +5 -1
Dockerfile.arm
CHANGED
|
@@ -4,6 +4,10 @@ USER root
|
|
| 4 |
WORKDIR /ragflow
|
| 5 |
|
| 6 |
COPY requirements_arm.txt /ragflow/requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&\
|
| 8 |
python -c "import nltk;nltk.download('punkt');nltk.download('wordnet')"
|
| 9 |
|
|
@@ -31,4 +35,4 @@ ADD docker/entrypoint.sh ./entrypoint.sh
|
|
| 31 |
ADD docker/.env ./
|
| 32 |
RUN chmod +x ./entrypoint.sh
|
| 33 |
|
| 34 |
-
ENTRYPOINT ["./entrypoint.sh"]
|
|
|
|
| 4 |
WORKDIR /ragflow
|
| 5 |
|
| 6 |
COPY requirements_arm.txt /ragflow/requirements.txt
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
RUN pip install nltk --default-timeout=10000
|
| 10 |
+
|
| 11 |
RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&\
|
| 12 |
python -c "import nltk;nltk.download('punkt');nltk.download('wordnet')"
|
| 13 |
|
|
|
|
| 35 |
ADD docker/.env ./
|
| 36 |
RUN chmod +x ./entrypoint.sh
|
| 37 |
|
| 38 |
+
ENTRYPOINT ["./entrypoint.sh"]
|