summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2023-11-15 22:29:33 +0100
committerGitHub <noreply@github.com>2023-11-15 22:29:33 +0100
commitd2cb832bbda88d488efe0bb8b28a0205855f3f82 (patch)
tree5a63bd651c0ed30894b5170b1bbf0157d7f5c4f1
parent~ (diff)
parentrename docker compose to docker-compose (diff)
downloadgpt4free-d2cb832bbda88d488efe0bb8b28a0205855f3f82.tar
gpt4free-d2cb832bbda88d488efe0bb8b28a0205855f3f82.tar.gz
gpt4free-d2cb832bbda88d488efe0bb8b28a0205855f3f82.tar.bz2
gpt4free-d2cb832bbda88d488efe0bb8b28a0205855f3f82.tar.lz
gpt4free-d2cb832bbda88d488efe0bb8b28a0205855f3f82.tar.xz
gpt4free-d2cb832bbda88d488efe0bb8b28a0205855f3f82.tar.zst
gpt4free-d2cb832bbda88d488efe0bb8b28a0205855f3f82.zip
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 586fff94..04e30cf1 100644
--- a/README.md
+++ b/README.md
@@ -138,13 +138,13 @@ cd gpt4free
4. Build the Docker image:
```bash
-docker compose build
+docker-compose build
```
5. Start the service using Docker Compose:
```bash
-docker compose up
+docker-compose up
```
Your server will now be running at `http://localhost:1337`. You can interact with the API or run your tests as you would normally.
@@ -152,11 +152,11 @@ Your server will now be running at `http://localhost:1337`. You can interact wit
To stop the Docker containers, simply run:
```bash
-docker compose down
+docker-compose down
```
> [!Note]
-> When using Docker, any changes you make to your local files will be reflected in the Docker container thanks to the volume mapping in the `docker-compose.yml` file. If you add or remove dependencies, however, you'll need to rebuild the Docker image using `docker compose build`.
+> When using Docker, any changes you make to your local files will be reflected in the Docker container thanks to the volume mapping in the `docker-compose.yml` file. If you add or remove dependencies, however, you'll need to rebuild the Docker image using `docker-compose build`.
## 💡 Usage