From 4982bdd83988d8521b1163cf5070bedf968ddb15 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 3 Sep 2021 10:53:06 +0200 Subject: Fix the Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 451e459..861bb6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- cgit v1.2.3