mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-31 23:55:06 +08:00
add dockerfile and fix trival bugs (#78)
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user