diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,7 +2,8 @@ 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 *.go go.mod go.sum /opt/ +COPY . /opt/ +RUN ls /opt/ RUN go build . FROM scratch |