lushdog@outlook.com 5 months ago
parent
commit
c389330b52
2 changed files with 2 additions and 2 deletions
  1. 1 1
      README.md
  2. 1 1
      docker-compose.yml

+ 1 - 1
README.md

@@ -12,7 +12,7 @@
 
 ## 构建
 
-  `docker build . --no-cache`
+  `docker build . --tag nexus-client:latest --no-cache`
 
 ## 构建运行
 

+ 1 - 1
docker-compose.yml

@@ -1,6 +1,6 @@
 services:
   nexus-client:
-    build: .
+    image: nexus-client:latest
     container_name: nexus-client
     environment:
       - CLIENT_COUNT=3