Skip to content

Commit

Permalink
Don't download dependencies on every test run.
Browse files Browse the repository at this point in the history
  • Loading branch information
craigjbass committed Nov 15, 2022
1 parent 3fb116b commit 4ff2ced
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM golang AS builder
WORKDIR /go/src/sparkling-dependencies
ADD go.mod ./
ADD go.sum ./
RUN go mod download
ADD . ./

FROM builder AS test
Expand Down

0 comments on commit 4ff2ced

Please sign in to comment.