diff options
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ FROM golang:1.17.0-alpine3.14 as builder ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64 RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates WORKDIR /opt -COPY main.go go.mod go.sum /opt/ +COPY *.go go.mod go.sum /opt/ RUN go build . FROM scratch |