mirror of
https://github.com/mainnika/a-quest.git
synced 2026-05-23 16:23:36 +00:00
add docker build cache for modules
This commit is contained in:
@@ -8,6 +8,10 @@ WORKDIR /app
|
||||
|
||||
RUN apk add --no-cache go git curl gcc g++ make
|
||||
|
||||
COPY go.sum .
|
||||
COPY go.mod .
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
RUN go build -o task3 github.com/mainnika/a-quest/task3-backend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user