Remove unnecessary "go mod verify"

Fixes #2538
This commit is contained in:
Patrik Lundin 2025-02-07 09:18:48 +01:00
parent 5ea491d281
commit 7859af2484
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ WORKDIR /usr/src/app
# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change
COPY go.mod go.sum ./
RUN go mod download && go mod verify
RUN go mod download
COPY . .
RUN go build -v -o /usr/local/bin/app ./...