aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-09-03 10:53:06 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-09-03 10:53:06 +0200
commit4982bdd83988d8521b1163cf5070bedf968ddb15 (patch)
tree109d30f9a4cda0bfcc6d3e6828274b94fe57ff3d /Dockerfile
parentd38e20337056b05d970b5140335953ca7b15ca8c (diff)
downloadbagage-4982bdd83988d8521b1163cf5070bedf968ddb15.tar.gz
bagage-4982bdd83988d8521b1163cf5070bedf968ddb15.zip
Fix the Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
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