mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-05-28 17:18:30 +08:00

### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
23 lines
433 B
Docker
23 lines
433 B
Docker
FROM infiniflow/ragflow-base:v2.0
|
|
USER root
|
|
|
|
WORKDIR /ragflow
|
|
|
|
ADD ./web ./web
|
|
RUN cd ./web && npm i --force && npm run build
|
|
|
|
ADD ./api ./api
|
|
ADD ./conf ./conf
|
|
ADD ./deepdoc ./deepdoc
|
|
ADD ./rag ./rag
|
|
ADD ./agent ./agent
|
|
ADD ./graphrag ./graphrag
|
|
|
|
ENV PYTHONPATH=/ragflow/
|
|
ENV HF_ENDPOINT=https://hf-mirror.com
|
|
|
|
ADD docker/entrypoint.sh ./entrypoint.sh
|
|
ADD docker/.env ./
|
|
RUN chmod +x ./entrypoint.sh
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"] |