You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile.arm 938B

1234567891011121314151617181920212223242526272829303132333435363738
  1. FROM python:3.11
  2. USER root
  3. WORKDIR /ragflow
  4. COPY requirements_arm.txt /ragflow/requirements.txt
  5. RUN pip install nltk --default-timeout=10000
  6. RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ --default-timeout=1000 -r requirements.txt &&\
  7. python -c "import nltk;nltk.download('punkt');nltk.download('wordnet')"
  8. RUN apt-get update && \
  9. apt-get install -y curl gnupg && \
  10. rm -rf /var/lib/apt/lists/*
  11. RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - && \
  12. apt-get install -y --fix-missing nodejs nginx ffmpeg libsm6 libxext6 libgl1
  13. ADD ./web ./web
  14. RUN cd ./web && npm i --force && npm run build
  15. ADD ./api ./api
  16. ADD ./conf ./conf
  17. ADD ./deepdoc ./deepdoc
  18. ADD ./rag ./rag
  19. ADD ./agent ./agent
  20. ADD ./graphrag ./graphrag
  21. ENV PYTHONPATH=/ragflow/
  22. ENV HF_ENDPOINT=https://hf-mirror.com
  23. ADD docker/entrypoint.sh ./entrypoint.sh
  24. ADD docker/.env ./
  25. RUN chmod +x ./entrypoint.sh
  26. ENTRYPOINT ["./entrypoint.sh"]