You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
188 B

# Go base image
FROM golang:1.17-alpine as builder
WORKDIR /app
COPY . .
RUN go install
RUN go build
FROM alpine:3.14
COPY --from=builder /app/lnme /lnme
EXPOSE 1323
CMD ["/lnme"]