Skip to content

Commit 1fb5ee9

Browse files
committed
fix: copy modules as well
1 parent 4bafbfb commit 1fb5ee9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ COPY go.mod go.sum ./
1111
RUN go mod download
1212

1313
COPY *.go ./
14+
# Copy all internal modules
15+
COPY cmd/*.go ./cmd/
16+
COPY config/*.go ./config/
17+
COPY internal/*.go ./internal/
18+
COPY version/*.go ./version/
1419

1520
ARG TARGETOS
1621
ARG TARGETARCH

0 commit comments

Comments
 (0)