mirror of
https://codeberg.org/gigirassy/pinata
synced 2026-08-30 23:37:40 +00:00
Update Dockerfile
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ ARG TARGETVARIANT
|
|||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
# cache go mod download between builds (requires BuildKit)
|
# cache go mod download between builds (requires BuildKit)
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod ./
|
||||||
RUN apk add --no-cache ca-certificates git
|
RUN apk add --no-cache ca-certificates git
|
||||||
RUN --mount=type=cache,target=/root/.cache/go-build \
|
RUN --mount=type=cache,target=/root/.cache/go-build \
|
||||||
--mount=type=cache,target=/go/pkg/mod \
|
--mount=type=cache,target=/go/pkg/mod \
|
||||||
|
|||||||
Reference in New Issue
Block a user