Skip to content

Commit

Permalink
Fix Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-doubez committed Nov 21, 2024
1 parent 14126da commit 3f98fe8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ RUN apk add git
RUN apk add build-base

WORKDIR /exporter
COPY .git Makefile *.go go.mod go.sum /exporter/
COPY Makefile go.mod go.sum /exporter/
COPY .git/ ./.git/
COPY cmd/ ./cmd/
COPY internal/ ./internal/
RUN ls -al
RUN make build RELEASE_MODE=1

FROM alpine:3.19
Expand Down

0 comments on commit 3f98fe8

Please sign in to comment.