diff options
author | sdaqo <sdaqo.dev@protonmail.com> | 2023-11-15 21:20:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-15 21:20:59 +0100 |
commit | 99f9cd610b515e74ad35cb03037b00d525767af2 (patch) | |
tree | e075b8c51b8504fbee3b074b74ff13ae7fb536bf | |
parent | Update README.md (diff) | |
download | gpt4free-99f9cd610b515e74ad35cb03037b00d525767af2.tar gpt4free-99f9cd610b515e74ad35cb03037b00d525767af2.tar.gz gpt4free-99f9cd610b515e74ad35cb03037b00d525767af2.tar.bz2 gpt4free-99f9cd610b515e74ad35cb03037b00d525767af2.tar.lz gpt4free-99f9cd610b515e74ad35cb03037b00d525767af2.tar.xz gpt4free-99f9cd610b515e74ad35cb03037b00d525767af2.tar.zst gpt4free-99f9cd610b515e74ad35cb03037b00d525767af2.zip |
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -137,13 +137,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. @@ -151,11 +151,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 |