diff --git a/Dockerfile b/Dockerfile index c0c26c1..c585029 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.23 AS builder WORKDIR /app -COPY go.mod go.sum ./ +COPY go.mod ./ RUN go mod download COPY *.go ./ RUN CGO_ENABLED=0 GOOS=linux go build -o job-api