Finished changing structure to modules:

- ntfy
- keyserver
- webhook
- webserver
functional modules.
This commit is contained in:
Fabian Gasper
2026-07-21 09:45:56 +02:00
parent 641df9eaab
commit 9b0b6b1ecf
10 changed files with 383 additions and 199 deletions
+3 -4
View File
@@ -1,9 +1,8 @@
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
COPY . .
RUN go mod tidy && \
CGO_ENABLED=0 GOOS=linux go build -o server .
FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/