mirror of
https://github.com/bumi/lntip
synced 2026-02-16 14:07:51 +00:00
WIP: Docker container
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user