Skip to content

Commit

Permalink
[NOREF] Fix dockerfile copy command copying to wrong directory (#714)
Browse files Browse the repository at this point in the history
Fix dockerfile copy command copying to wrong directory
  • Loading branch information
ClayBenson94 authored Sep 22, 2023
1 parent 219ba73 commit b89ff70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ FROM base AS dev

FROM base AS build

COPY cmd/ pkg/ ./
COPY cmd ./cmd
COPY pkg ./pkg
RUN CGO_ENABLED=0 GOOS=linux go build -a -o bin/mint ./cmd/mint

FROM scratch
Expand Down

0 comments on commit b89ff70

Please sign in to comment.