diff --git a/build/Dockerfile b/build/Dockerfile index 69e0799f..073e5651 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -2,6 +2,8 @@ # Build the binary FROM golang:1.23-alpine WORKDIR /app +COPY go.mod go.sum ./ +RUN go mod download COPY . . RUN go build -o ./bin/outpost ./cmd/outpost/main.go