aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2021-11-20 15:10:21 +0100
committerQuentin <quentin@deuxfleurs.fr>2021-11-20 15:10:21 +0100
commita171e8418967f005b6943d769636eefe95f1a2ea (patch)
tree460bf82416f3146221d1e2d85aeeae6de05bc230 /Dockerfile
parente10f04c5e36109c2e58d667c4b6ec054cbdd51be (diff)
downloadbagage-a171e8418967f005b6943d769636eefe95f1a2ea.tar.gz
bagage-a171e8418967f005b6943d769636eefe95f1a2ea.zip
Better error management
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 861bb6a..5b059dd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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