Cache go modules

This commit is contained in:
video-prize-ranch 2022-02-21 12:26:31 -05:00
parent 718a017ccf
commit 156452713b
No known key found for this signature in database
GPG Key ID: D8EAA4C5B12A7281
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ WORKDIR /src
RUN apk --no-cache add git RUN apk --no-cache add git
RUN git clone https://codeberg.org/video-prize-ranch/rimgo . RUN git clone https://codeberg.org/video-prize-ranch/rimgo .
RUN go mod download
RUN go build RUN go build
FROM alpine:latest as bin FROM alpine:latest as bin