2024-05-15 15:10:24 +00:00
|
|
|
FROM rust:1.78
|
|
|
|
|
2024-10-01 14:14:29 +00:00
|
|
|
ARG KEY_FILE
|
2024-05-15 15:10:24 +00:00
|
|
|
|
2024-10-01 14:14:29 +00:00
|
|
|
RUN wget https://github.com/ekzyis/nostr-wallet-connect-lnd/archive/a02939c350191f8a6750a72d2456fbdf567e5848.zip \
|
|
|
|
&& unzip a02939c350191f8a6750a72d2456fbdf567e5848.zip
|
|
|
|
|
|
|
|
WORKDIR nostr-wallet-connect-lnd-a02939c350191f8a6750a72d2456fbdf567e5848
|
2024-05-15 15:10:24 +00:00
|
|
|
|
|
|
|
RUN apt-get update -y \
|
|
|
|
&& apt-get install -y cmake \
|
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
2024-08-27 16:14:35 +00:00
|
|
|
RUN cargo build --release && cargo install --path .
|
|
|
|
|
2024-10-01 14:14:29 +00:00
|
|
|
COPY . .
|