Dockerfile
This commit is contained in:
@@ -18,8 +18,6 @@ RUN git config --global url."http://x-token-auth:9b31146aa8c10a7cb4f2e49dcee0934
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
# 复制父目录的 common 模块(因为 go.mod 中使用了本地 replace)
|
||||
COPY ../common /build/common
|
||||
COPY . .
|
||||
|
||||
RUN go mod download && go mod tidy
|
||||
|
||||
Reference in New Issue
Block a user