lushdog@outlook.com 6 달 전
부모
커밋
3cab994838
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Dockerfile
  2. 4 0
      README.md

+ 1 - 1
Dockerfile

@@ -5,7 +5,7 @@ RUN apt update && apt install -y ca-certificates && rm -rf /var/lib/apt/lists/*
 # 设置工作目录
 WORKDIR /app
 
-COPY nexus_client /app/nexus_client
+COPY nexus_client nexus_client
 
 RUN chmod +x nexus_client
 

+ 4 - 0
README.md

@@ -10,6 +10,10 @@
 
  `cp .env.sample .env` 填入需要开的nexus_client数量
 
+## 构建
+
+  `docker build . --no-cache`
+
 ## 构建运行
 
   `docker compose up -d`