lushdog@outlook.com 5 月之前
父節點
當前提交
c389330b52
共有 2 個文件被更改,包括 2 次插入2 次删除
  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