From a171e8418967f005b6943d769636eefe95f1a2ea Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 20 Nov 2021 15:10:21 +0100 Subject: Better error management --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Dockerfile') 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 -- cgit v1.2.3