This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
ledger-tui/Dockerfile

13 lines
260 B
Docker
Raw Permalink Normal View History

FROM library/golang:1.18-bullseye as builder
WORKDIR /src
COPY . .
# TODO: Add cross compiling and multiple binary distributions.
RUN go build cmd/ledger-tui/ledger-tui.go
FROM scratch
COPY --from=builder /src/ledger-tui /ledger-tui
ENTRYPOINT /ledger-tui