mirror of
https://github.com/TeamPiped/http3-ytproxy.git
synced 2024-08-14 23:56:43 +00:00
Use BuildX's cache mount for caching.
This commit is contained in:
parent
779777b9b6
commit
e44f1e55b7
2 changed files with 4 additions and 12 deletions
|
@ -4,7 +4,8 @@ WORKDIR /app/
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN go build -ldflags "-s -w" main.go
|
||||
RUN --mount=type=cache,target=/root/.cache/go-build \
|
||||
go build -ldflags "-s -w" main.go
|
||||
|
||||
FROM alpine:edge
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue