Skip to content

Commit e92e9c5

Browse files
committed
build(docker): improve cache usage for repeated builds
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent a12af50 commit e92e9c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM ghcr.io/blinklabs-io/go:1.22.7-1 AS build
22

33
WORKDIR /code
4+
COPY go.* .
5+
RUN go mod download
46
COPY . .
57
RUN make build
68

0 commit comments

Comments
 (0)