| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- ---
- sidebar_position: 7
- slug: /upgrade_ragflow
- ---
-
- # Upgrade RAGFlow
- import Tabs from '@theme/Tabs';
- import TabItem from '@theme/TabItem';
-
- ## Upgrade RAGFlow to `dev`, the most recent, tested Docker image
-
- 1. Clone the repo
-
- ```bash
- git clone https://github.com/infiniflow/ragflow.git
- ```
-
- 2. Update **ragflow/docker/.env** as follows:
-
- ```bash
- RAGFLOW_IMAGE=infiniflow/ragflow:dev
- ```
-
- 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 `latest`, the most recent, officially published release
-
- 1. Clone the repo
-
- ```bash
- git clone https://github.com/infiniflow/ragflow.git
- ```
-
- 2. Switch to the latest, officially published release, e.g., `v0.14.0`:
-
- ```bash
- git checkout v0.14.0
- ```
-
- 3. Update **ragflow/docker/.env** as follows:
-
- ```bash
- RAGFLOW_IMAGE=infiniflow/ragflow:latest
- ```
-
- 4. 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
- ```
|