diff --git a/Dockerfile b/Dockerfile index ef803dd..b3e0abb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM golang:1.20.4 as builder +WORKDIR / COPY go.mod / COPY *.go ./ RUN CGO_ENABLED=0 GOOS=linux go build -o /app