mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
14 lines
277 B
Docker
14 lines
277 B
Docker
FROM infiniflow/ragflow-base:v1.0
|
|
|
|
WORKDIR /ragflow
|
|
|
|
COPY . ./
|
|
RUN cd ./web && npm i && npm build
|
|
|
|
ENV PYTHONPATH=/ragflow
|
|
ENV HF_ENDPOINT=https://hf-mirror.com
|
|
|
|
COPY docker/entrypoint.sh ./
|
|
RUN chmod +x ./entrypoint.sh
|
|
|
|
ENTRYPOINT ["/bin/bash", "./entrypoint.sh"] |