mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-06-02 06:09:50 +08:00
21 lines
414 B
Docker
21 lines
414 B
Docker
FROM swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow-base:v1.0
|
|
USER root
|
|
|
|
WORKDIR /ragflow
|
|
|
|
ADD ./web ./web
|
|
RUN cd ./web && npm i && npm run build
|
|
|
|
ADD ./api ./api
|
|
ADD ./conf ./conf
|
|
ADD ./deepdoc ./deepdoc
|
|
ADD ./rag ./rag
|
|
|
|
ENV PYTHONPATH=/ragflow/
|
|
ENV HF_ENDPOINT=https://hf-mirror.com
|
|
|
|
ADD docker/entrypoint.sh ./entrypoint.sh
|
|
RUN chmod +x ./entrypoint.sh
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|