mirror of
https://gh-proxy.org/https://github.com/klinsmaya/new-api.git
synced 2026-11-11 02:46:58 +08:00
fix(docker): add relaykit go.mod to dev build context (#7072)
This commit is contained in:
@@ -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