Update README examples, unit test URIs, and Docker images to use testnet ports 46941 (daemon) and 46944 (wallet RPC). The docker-compose.yml and integration test base already used testnet ports; this aligns all remaining references consistently. Co-Authored-By: Charon <charon@lethean.io>
25 lines
849 B
Text
25 lines
849 B
Text
# Quick image using pre-built binaries
|
|
# Build: docker build -f Dockerfile.prebuilt --build-arg BINARY_DIR=/path/to/binaries .
|
|
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 letheand /usr/local/bin/letheand
|
|
COPY simplewallet /usr/local/bin/simplewallet
|
|
|
|
RUN chmod +x /usr/local/bin/letheand /usr/local/bin/simplewallet && \
|
|
mkdir -p /data /wallet
|
|
|
|
VOLUME ["/data", "/wallet"]
|
|
|
|
EXPOSE 46941 46942
|
|
|
|
ENTRYPOINT ["letheand"]
|
|
CMD ["--testnet", "--rpc-bind-ip=0.0.0.0", "--rpc-bind-port=46941", "--data-dir=/data"]
|