XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

rename docker compose to docker-compose

Docker compose is a separate binary called `docker-compose` and is not a command of `docker` itself.

99f9cd61
sdaqo <sdaqo.dev@protonmail.com>
提交于

代码差异

1 个文件 +4 -4
Modified README.md +4 -4
@@ -137,13 +137,13 @@ cd gpt4free
137 137 4. Build the Docker image:
138 138
139 139 ```bash
140 docker compose build
140 docker-compose build
141 141 ```
142 142
143 143 5. Start the service using Docker Compose:
144 144
145 145 ```bash
146 docker compose up
146 docker-compose up
147 147 ```
148 148
149 149 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
151 151 To stop the Docker containers, simply run:
152 152
153 153 ```bash
154 docker compose down
154 docker-compose down
155 155 ```
156 156
157 157 > [!Note]
158 > 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`.
158 > 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`.
159 159
160 160 ## 💡 Usage
161 161