Skip to content

Commit

Permalink
Dockerfile cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris committed Jun 24, 2024
1 parent 14e10f1 commit bfca348
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ WORKDIR /build
# Cache for the modules
COPY go.mod ./
COPY go.sum ./
ENV GOCACHE=/root/.cache/go-build
RUN --mount=type=cache,target=/root/.cache/go-build go mod download

# Now adding all the code and start building
Expand Down

0 comments on commit bfca348

Please sign in to comment.