jianglinzhang commited on
Commit
1d3264f
1 Parent(s): d914396

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM infiniflow/ragflow-base:v2.0
2
+ USER root
3
+
4
+ WORKDIR /ragflow
5
+
6
+ ADD ./web ./web
7
+ RUN cd ./web && npm i --force && npm run build
8
+
9
+ ADD ./api ./api
10
+ ADD ./conf ./conf
11
+ ADD ./deepdoc ./deepdoc
12
+ ADD ./rag ./rag
13
+ ADD ./agent ./agent
14
+ ADD ./graphrag ./graphrag
15
+
16
+ ENV PYTHONPATH=/ragflow/
17
+ ENV HF_ENDPOINT=https://hf-mirror.com
18
+
19
+ ADD docker/entrypoint.sh ./entrypoint.sh
20
+ ADD docker/.env ./
21
+ RUN chmod +x ./entrypoint.sh
22
+
23
+ ENTRYPOINT ["./entrypoint.sh"]