Skip to content

Commit

Permalink
Merge pull request #20 from penguincoder/dockerfile-error
Browse files Browse the repository at this point in the history
Fix Dockerfile error
  • Loading branch information
jrhouston authored Jun 16, 2021
2 parents bddf567 + 7f2c0c4 commit 0a3b602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.16-alpine as build
WORKDIR /build
COPY go.* .
RUN go mod download
COPY go.* ./
RUN go mod download
COPY . .
RUN apk --no-cache add make
RUN CGO_ENABLED=0 make build
Expand Down

0 comments on commit 0a3b602

Please sign in to comment.