btcpay-plugin/docker/Dockerfile
Claude a3869db496
rebrand(lethean): update branding, ports, and config for Lethean blockchain
- Coin: Zano → Lethean, ticker: ZAN/ZANO → LTHN
- Ports: 11211 → 36941 (mainnet RPC), 46941 (testnet RPC)
- Wallet: 11212 → 36944/46944
- Address prefix: iTHN
- URLs: zano.org → lethean.io
- Explorer links: explorer.lthn.io

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 22:24:13 +01:00

38 lines
1.1 KiB
Docker

FROM ubuntu:22.04 AS builder
RUN apt-get update && apt-get install -y \
build-essential cmake git wget \
libboost-all-dev libssl-dev libunwind-dev \
pkg-config && \
rm -rf /var/lib/apt/lists/*
ARG LTHN_BRANCH=master
RUN git clone --depth 1 --branch ${LTHN_BRANCH} --recursive \
https://github.com/lethean-io/lethean.git /lethean
WORKDIR /lethean/build
RUN cmake .. -DCMAKE_BUILD_TYPE=Release && \
make -j$(nproc) daemon simplewallet
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y \
libboost-filesystem1.74.0 libboost-thread1.74.0 \
libboost-program-options1.74.0 libboost-regex1.74.0 \
libboost-serialization1.74.0 libboost-system1.74.0 \
libboost-date-time1.74.0 libboost-chrono1.74.0 \
libboost-locale1.74.0 \
libssl3 libunwind8 curl && \
rm -rf /var/lib/apt/lists/*
COPY --from=builder /lethean/build/src/letheand /usr/local/bin/letheand
COPY --from=builder /lethean/build/src/simplewallet /usr/local/bin/simplewallet
RUN mkdir -p /data /wallet
VOLUME ["/data", "/wallet"]
EXPOSE 36941 36942
ENTRYPOINT ["letheand"]
CMD ["--rpc-bind-ip=0.0.0.0", "--rpc-bind-port=36941", "--data-dir=/data"]