@@ -12,7 +12,7 @@
## 构建
- `docker build . --no-cache`
+ `docker build . --tag nexus-client:latest --no-cache`
## 构建运行
@@ -1,6 +1,6 @@
services:
nexus-client:
- build: .
+ image: nexus-client:latest
container_name: nexus-client
environment:
- CLIENT_COUNT=3