mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-10-28 08:35:33 +08:00
fix(docker): add relaykit go.mod to dev build context (#7072)
This commit is contained in:
1 parent
ac381acf4b
commit
7037ac15bd
1 file changed
+3
@@ -12,6 +12,9 @@ ENV GOEXPERIMENT=greenteagc
|
||||
WORKDIR /build
|
||||
|
||||
ADD go.mod go.sum ./
|
||||
# relaykit is a local submodule referenced via replace; its go.mod must be
|
||||
# present for go mod download to resolve the main module graph.
|
||||
ADD relaykit/go.mod ./relaykit/go.mod
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
|
||||
Reference in new issue
Block a user