Files
ana-ledger/vendor/github.com/guptarohit/asciigraph/Dockerfile
Bel LaPointe 58462fb5a4
Some checks failed
cicd / ci (push) Failing after 51s
cli graph graphs
2025-05-07 15:34:31 -06:00

11 lines
278 B
Docker

FROM golang:1.23-alpine AS builder
WORKDIR /app
COPY cmd ./cmd
COPY go.mod ./
COPY *.go ./
RUN GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /app/asciigraph ./cmd/asciigraph/main.go
FROM scratch
COPY --from=builder /app/asciigraph /asciigraph
ENTRYPOINT ["/asciigraph"]