add build caching
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-02-14 16:08:29 -05:00
parent 8343e71fb1
commit cfc62e4d01
4 changed files with 39 additions and 142 deletions

View File

@@ -1,9 +1,4 @@
FROM golang:1.26
WORKDIR /src
COPY . ./
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v .
FROM scratch
COPY --from=0 /src/ts-docker-proxy ./
COPY ts-docker-proxy ./
ENV HOME=/
CMD ["/ts-docker-proxy"]