first commit

This commit is contained in:
Fabian Gasper
2026-07-12 18:32:01 +02:00
commit 7079f383d4
11 changed files with 528 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
FROM golang:1.25-alpine AS builder
WORKDIR /app
COPY main.go webhook.go config.go .
RUN go mod init varde && \
go mod tidy && \
CGO_ENABLED=0 GOOS=linux go build -o server main.go webhook.go config.go
FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /app/server /server
CMD ["/server"]