選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Dockerfile.arm 863B

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