Run update.sh
This commit is contained in:
parent
7f0ca04705
commit
d06cd9af6e
|
|
@ -189,7 +189,7 @@ WORKDIR /usr/src/app
|
||||||
|
|
||||||
# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change
|
# pre-copy/cache go.mod for pre-downloading dependencies and only redownloading them in subsequent builds if they change
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
RUN go mod download && go mod verify
|
RUN go mod download
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -v -o /usr/local/bin/app ./...
|
RUN go build -v -o /usr/local/bin/app ./...
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue