ragflow / Dockerfile
KevinHuSh
add dockerfile and fix trival bugs (#78)
8887e47
raw
history blame
277 Bytes
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"]