1
1
mirror of https://github.com/bumi/lntip synced 2026-02-16 14:07:51 +00:00

WIP: Docker container

This commit is contained in:
Aaron Dewes
2021-10-27 15:29:18 +01:00
parent 6b7ab33efe
commit 2b095bbba3
3 changed files with 104 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# 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 golang:1.17-alpine
COPY --from=builder /app/lnme /lnme
CMD ["/lnme"]