File size: 988 Bytes
2d88b84
 
 
 
 
 
 
 
 
26b5fea
 
2d88b84
26b5fea
2d88b84
 
 
 
 
 
 
65ed2b0
 
 
 
 
 
 
2d88b84
 
 
 
 
 
26b5fea
2d88b84
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
sidebar_position: 7
slug: /upgrade_ragflow
---

# Upgrade RAGFlow

You can upgrade RAGFlow to dev version or the latest version:

- A Dev version (Development version) is the latest, tested image.
- The latest version is the most recent, officially published release.

## Upgrade RAGFlow to the dev version

1. Update **ragflow/docker/.env** as follows:

   ```bash
   RAGFLOW_IMAGE=infiniflow/ragflow:dev
   ```

2. Pull the latest code from inside Docker:

   ```bash
   git pull
   ```

3. Update RAGFlow image and restart RAGFlow:

   ```bash
   docker compose -f docker/docker-compose.yml pull
   docker compose -f docker/docker-compose.yml up -d
   ```

## Upgrade RAGFlow to the latest version

1. Update **ragflow/docker/.env** as follows:

   ```bash
   RAGFLOW_IMAGE=infiniflow/ragflow:latest
   ```

2. Update the RAGFlow image and restart RAGFlow:

   ```bash
   docker compose -f docker/docker-compose.yml pull
   docker compose -f docker/docker-compose.yml up -d
   ```