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

21 lines
292 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
EXPOSE 1323
CMD ["/lnme"]