mirror of
				https://github.com/infiniflow/ragflow.git
				synced 2025-10-31 17:59:43 +00:00 
			
		
		
		
	 05fa3aeb08
			
		
	
	
		05fa3aeb08
		
			
		
	
	
	
	
		
			
			### What problem does this PR solve? ### Type of change - [x] New Feature (non-breaking change which adds functionality)
		
			
				
	
	
		
			21 lines
		
	
	
		
			387 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			387 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM infiniflow/ragflow-base:v2.0
 | |
| USER  root
 | |
| 
 | |
| WORKDIR /ragflow
 | |
| 
 | |
| ADD ./web ./web
 | |
| RUN cd ./web && npm i --force && 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
 | |
| ADD docker/.env ./
 | |
| RUN chmod +x ./entrypoint.sh
 | |
| 
 | |
| ENTRYPOINT ["./entrypoint.sh"] |