From 3f702084d20b3c3a3ea916f3110e99b22bda60b3 Mon Sep 17 00:00:00 2001 From: Chia Date: Thu, 6 Aug 2026 15:58:57 +1200 Subject: feat: complete commercial developer workflows Add tenant-safe usage observability, prepaid billing controls, API key lifecycle management, Embeddings metering, configurable billing alerts, and resilient provider health propagation. Harden Stripe failure handling, migrations, readiness, and the authenticated control-plane UI with end-to-end verification evidence. --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index fb88a47..6b9c1bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,9 @@ COPY go.sum ./ RUN go mod download COPY cmd ./cmd COPY internal ./internal -RUN CGO_ENABLED=0 go build -buildvcs=false -trimpath -ldflags="-s -w" -o /out/aigw ./cmd/aigw +RUN CGO_ENABLED=0 go build -buildvcs=false -trimpath -ldflags="-s -w" -o /out/aigw ./cmd/aigw && \ + CGO_ENABLED=0 go build -buildvcs=false -trimpath -ldflags="-s -w" -o /out/mockupstream ./cmd/mockupstream && \ + CGO_ENABLED=0 go build -buildvcs=false -trimpath -ldflags="-s -w" -o /out/stripe-preflight ./cmd/stripe-preflight FROM build AS test CMD ["go", "test", "./..."] @@ -15,6 +17,8 @@ FROM alpine:3.22 RUN apk add --no-cache ca-certificates && adduser -D -H -u 10001 aigw USER aigw COPY --from=build /out/aigw /usr/local/bin/aigw +COPY --from=build /out/mockupstream /usr/local/bin/mockupstream +COPY --from=build /out/stripe-preflight /usr/local/bin/stripe-preflight EXPOSE 8080 8081 8082 9090 ENTRYPOINT ["/usr/local/bin/aigw"] CMD ["-config", "/etc/aigw/config.json"] -- cgit v1.2.3