diff options
Diffstat (limited to '')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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"] |
