1
1
mirror of https://github.com/bumi/lntip synced 2025-06-29 06:03:35 +00:00
lntip/Dockerfile
2021-10-27 15:57:55 +01:00

19 lines
279 B
Docker

# Go base image
FROM golang:1.17-alpine as builder
RUN go get github.com/GeertJohan/go.rice && go get github.com/GeertJohan/go.rice/rice
WORKDIR /app
COPY . .
RUN go install
RUN rice embed-go && go build
FROM alpine:3.14
COPY --from=builder /app/lnme /lnme
CMD ["/lnme"]