Files
treasury/Dockerfile
zeekay f6b94e5c85 deps: bump Go to 1.26.4 across go.mod, Dockerfiles, GH Actions
Workspace-wide sync. luxfi/node already shipped on 1.26.4 in v1.30.6
(commit 121aca1fa9); this is the cross-repo catch-up.
2026-06-07 10:45:59 -07:00

13 lines
353 B
Docker

FROM golang:1.26.4-alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o treasuryd ./cmd/treasuryd/
FROM alpine:3.21
RUN apk add --no-cache ca-certificates
COPY --from=builder /app/treasuryd /usr/local/bin/treasuryd
EXPOSE 8091
ENTRYPOINT ["treasuryd"]