# quple-server, the signaling service at meet.quineglobal.com.# petersweb-infra runs it pinned by digest (nixos/quple/default.nix);# .forgejo/workflows/deploy.yml builds it and opens the PR that bumps the pin.FROM docker.io/library/golang:1.25 AS buildWORKDIR /srcCOPY go.mod go.sum ./RUN go mod downloadCOPY . .RUN CGO_ENABLED=0 go build -trimpath -ldflags=-s -o /out/quple-server .# Static binary on distroless: CA certificates (for login.quineglobal.com's# discovery and keys), no shell, runs as nonroot (65532).FROM gcr.io/distroless/static-debian12:nonrootCOPY --from=build /out/quple-server /usr/local/bin/quple-serverENV ADDR=:8080 DATA_DIR=/dataEXPOSE 8080VOLUME /dataENTRYPOINT ["/usr/local/bin/quple-server"]