Files
FamilyHUB/infra/webhook/Dockerfile
T
admin 6d7124d274
Build and Deploy / build-and-deploy (push) Successful in 23m37s
Fixed deploy pipeline
2026-05-22 23:33:52 +03:00

12 lines
311 B
Docker

FROM golang:1.26-bookworm AS builder
WORKDIR /app
COPY infra/webhook/ .
RUN go mod download && \
CGO_ENABLED=0 GOOS=linux go build -o webhook .
FROM scratch
COPY --from=builder /app/webhook /webhook
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
EXPOSE 9001
ENTRYPOINT ["/webhook"]