parent
5ea491d281
commit
7859af2484
|
|
@ -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 ./...
|
||||
|
|
|
|||
Loading…
Reference in New Issue