Initial DDC release

This commit is contained in:
SirBlob committed 2026-10-25 20:24:50 -04:00
commit 434f6441da
57 files changed
+4606

No files matched your search

Executable
+12
View File
@@ -0,0 +1,12 @@
FROM golang:1.24-alpine AS build
WORKDIR /src
COPY go.mod ./
COPY main.go ./
COPY internal ./internal
COPY web ./web
RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags="-s -w" -o /out/ddc .
FROM gcr.io/distroless/static-debian12:nonroot
COPY --from=build /out/ddc /ddc
EXPOSE 8080
ENTRYPOINT ["/ddc"]