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
|
||||
|
||||
4
go.mod
4
go.mod
@@ -2,10 +2,10 @@ module customer-server
|
||||
|
||||
go 1.25.7
|
||||
|
||||
replace gitea.com/red-future/common v0.0.6 => ../common
|
||||
replace gitea.com/red-future/common v0.0.7 => ../common
|
||||
|
||||
require (
|
||||
gitea.com/red-future/common v0.0.6
|
||||
gitea.com/red-future/common v0.0.7
|
||||
github.com/gogf/gf/contrib/nosql/redis/v2 v2.10.0
|
||||
github.com/gogf/gf/v2 v2.10.0
|
||||
github.com/gorilla/websocket v1.5.3
|
||||
|
||||
Reference in New Issue
Block a user