RC 1.0
All checks were successful
release-tag / release-image (push) Successful in 1m59s

This commit is contained in:
2025-11-09 23:48:36 +01:00
parent 1e0fcd7a4e
commit eaf47e7a9f
5 changed files with 1574 additions and 0 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
# -------- Dockerfile (Multi-Stage Build) --------
# 1. Builder-Stage
FROM golang:1.25-alpine AS builder
WORKDIR /app
COPY go.* ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /bin/flodhome
# 2. Runtime-Stage
FROM alpine:3.22
# HTTPS-Callouts in Alpine brauchen ca-certificates
RUN apk add --no-cache ca-certificates
RUN mkdir /lists
COPY --from=builder /bin/flodhome /bin/flodhome
# Default listens on :8080 siehe main.go
EXPOSE 8080
VOLUME /data
ENTRYPOINT ["/bin/flodhome"]